:root {
    --primary: #dc3545;
    --secondary: #003366;
    --light: #f8f9fa;
    --dark: #212529;
    --heading-font: 'Unna', serif;
    --body-font: 'Work Sans', sans-serif;
    --logo-font: 'Instrument Serif', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--body-font);
}

body {
    background-color: #f4f4f4;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.logo p {
    padding-top: 10px;
}
/* .logo img:nth-child(2) {
    padding-top: 30px;
} */
.navbar-logo {
    height: 70px;
}
.chrome-logo-navbar {
    height: 25px;
    margin-top: 12px;
}
.logo-text {
    font-family: var(--logo-font);
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #b92d3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/tarifflens-hero-background.jpg') no-repeat center center/cover;
    background-position: bottom center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    line-height: 3rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}
/* Twitter Mockups Section */
.twitter-mockups {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.tweets-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    align-items: flex-start; /* Align items to the top */
}

.tweets-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.tweet-carousel {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tweet {
    /* background-color: white; */
    border-radius: 20px;
    /* box-shadow: 0 15px 30px rgba(0,0,0,0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.tweet:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.15); */
}

.tweet-image {
    width: 100%;
    height: auto;
    display: block;
}

.tweets-cta {
    flex: 1;
    background-color: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: 0 15px 30px rgba(220,53,69,0.2);
}
.tweets-cta img {
    margin-left: -35px;
}
.tweets-cta h3 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.tweets-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.tweets-cta .btn {
    background-color: white;
    color: var(--primary);
    border: none;
}

.tweets-cta .btn:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .tweets-container {
        flex-direction: column;
    }
    
    .tweet-carousel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .twitter-mockups {
        padding: 60px 0;
    }
}
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-title p {
    font-size: 1.5rem;
    line-height: 1.6rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--heading-font);
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 1.5rem;
}

.demo {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.demo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.demo-image {
    max-width: 100%;
    border-radius: 10px;
/*     box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}
/* Carousel Styling */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.demo-image {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: var(--primary);
}
/* Video Demo Section */
/* Video Demo Section - Updated */
.video-demo {
    padding: 80px 0;
    background-color: white;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-caption {
    background-color: var(--primary);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

/* Play button overlay */
.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 53px); /* Adjust for caption height */
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.play-button-overlay i {
    font-size: 30px;
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-button-overlay:hover i {
    transform: scale(1.1);
}

.play-button-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}


/* Tweet Container Alignment Fix */
.tweets-cta {
    align-items: flex-start;
}

.tweets-cta img {
    margin-left: -35px;
    margin-top: -20px;
    margin-bottom: 10px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .tweets-cta img {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .carousel-container {
        box-shadow: none;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.media-coverage {
    background-color: #dc3545!important;
    padding: 80px 0;
    background-color: white;
}
.media-coverage .section-title p {
    color: #f4f4f4!important;
}
.media-grid {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.media-card {
    max-width: 600px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.media-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.media-logo {
    height: 50px;
    margin-bottom: 15px;
}

.media-card h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.media-title {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 15px;
}

.media-excerpt {
    color: #6c757d;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary);
    font-weight: bold;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-family: var(--heading-font);
    font-weight: bold;
    font-size: 1.1rem;
}

.cta {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://source.unsplash.com/random/1600x800/?shopping') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.cta h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.cta .btn {
    font-size: 1.2rem;
}

.privacy-note {
    font-size: 0.9rem;
    margin-top: 20px;
    font-style: italic;
    color: rgba(255,255,255,0.8);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0;
    text-align: center;
}
/* Center alignment for all footer elements */
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
footer .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
footer .container .logo {
    display: grid;
}
.privacy-text {
    max-width: 700px;
    margin: 20px auto;
    font-size: 0.9rem;
    color: #adb5bd;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.copyright {
    margin-top: 20px;
    color: #6c757d;
}

@media (max-width: 768px) {
     .navbar-logo {
    height: 50px;
}
    .video-demo {
        padding: 60px 0;
    }
    
    .video-container {
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .video-caption {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    .hero h1 {
        font-size: 2.5rem;
        line-height: 2.3rem;
    }
    .hero p {
        line-height: 1.5rem;
    }
    .section-title h2 {
        font-size: 2rem;
        line-height: 2rem;
    }
    .cta h2 {
        line-height: 2.3rem;
    }
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .chrome-logo-navbar {
        height: 18px;
        margin-top: 15px;
    }
    
    .media-grid {
        padding: 0 15px;
    }
}


@media (max-width: 992px) {
    .video-container {
        max-width: 90%;
    }
}
@media (max-width: 1032px) {
.tweets-cta h3 {
    line-height: 1.7rem;
}
.tweets-cta p {
    line-height: 1.3rem;
}
.feature-card h3 {
    line-height: 1.7rem;
}
.feature-card p {
    line-height: 1.3rem;
}
}