/* 
 * Habitron Website Styles
 * Main stylesheet for Habitron landing page
 */

/* ===== Base Styles ===== */
:root {
    /* Colors */
    --primary: #5abeb3;
    --primary-rgb: 90, 190, 179;
    --primary-dark: #439b91;
    --primary-light: #7fcecc;
    --secondary: #10b981;
    --dark: #0e3a4d;
    --light: #f9f4e3;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --gray-dark: #334155;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    
    /* Typography */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 100px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #0ea271;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
    padding-top: 15px;
}

header.sticky {
    box-shadow: var(--shadow);
    height: 70px;
    padding-top: 5px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    width: 100%;
}

.logo {
    position: relative;
    left: 0;
    transform: none;
    z-index: 10;
}

.text-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 1px;
    font-family: var(--font-sans);
    text-align: center;
}

.footer-text-logo {
    color: white;
    margin-bottom: 20px;
    display: block;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
    z-index: 20;
    position: absolute;
    right: 20px;
}

.mobile-nav-toggle span {
    background-color: var(--dark);
    height: 3px;
    margin: 3px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
}

.hero-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-thumbnail {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.video-thumbnail video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(14, 58, 77, 0.3);
    transition: background-color 0.3s ease;
}

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

.video-thumbnail:hover .play-button-overlay {
    background-color: rgba(14, 58, 77, 0.5);
}

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

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    max-width: 85%;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--gray);
}

.notification-bubble {
    position: absolute;
    top: 0;
    left: 5%;
    background-color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: float 3s ease-in-out infinite;
    z-index: 5;
    max-width: 150px;
    font-size: 0.85rem;
    transform: none;
}

.notification-bubble i {
    color: var(--warning);
    font-size: 1.1rem;
    margin-right: -2px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ===== About Section ===== */
.about-section {
    background-color: white;
    padding-top: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    background-color: rgba(90, 190, 179, 0.1);
}

.image-caption {
    position: static;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    padding: 20px;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.about-item {
    display: flex;
    gap: 20px;
}

.about-item i {
    color: var(--primary);
    font-size: 2rem;
    margin-top: 5px;
}

.about-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.about-item p {
    color: var(--gray);
}

/* ===== Benefits Section ===== */
.benefits-section {
    background-color: var(--light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(90, 190, 179, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon i {
    color: var(--primary);
    font-size: 1.8rem;
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--gray);
}

/* ===== Features Section ===== */
.features-section {
    background-color: white;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-item {
    display: flex;
    justify-content: center;
    grid-template-columns: 1fr;
}

.feature-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(90, 190, 179, 0.3);
    line-height: 1;
}

.feature-content {
    text-align: center;
    max-width: 600px;
}

.feature-content .feature-number {
    display: block;
    margin: 0 auto 10px;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-content p {
    color: var(--gray);
    max-width: 500px;
}

.feature-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-image img {
    transition: var(--transition);
}

.feature-image:hover img {
    transform: scale(1.05);
}

/* ===== Pricing Section ===== */
.pricing-section {
    background-color: var(--light);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(90, 190, 179, 0.2);
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 60px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.toggle-btn {
    border: none;
    background: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50px;
    color: var(--gray-dark);
    font-weight: 500;
    transition: var(--transition);
    width: 50%;
}

.toggle-btn.active {
    background-color: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.save-badge {
    position: absolute;
    top: -10px;
    right: -20px;
    background-color: var(--secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 40px;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-light);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.card-header {
    margin-bottom: 30px;
    text-align: center;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.price-yearly {
    display: none;
}

.price-savings {
    display: block;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 5px;
}

.card-features ul {
    margin-bottom: 30px;
}

.card-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features i {
    color: var(--success);
}

.card-features li.disabled {
    color: var(--gray);
}

.card-features li.disabled i {
    color: var(--gray-light);
}

.pricing-note {
    text-align: center;
    color: var(--gray);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: white;
}

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

.testimonial-card {
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    margin-bottom: 15px;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray);
}

.testimonial-author div {
    text-align: center;
}

/* ===== Download Section ===== */
.download-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    color: white;
}

.download-section .section-header h2,
.download-section .section-header p {
    color: white;
}

.robot-container {
    text-align: center;
    margin-bottom: 40px;
}

.download-robot {
    max-width: 200px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.download-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.download-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.download-card p {
    margin-bottom: 25px;
    opacity: 0.8;
}

.download-card .btn {
    background-color: white;
    color: var(--primary);
}

.download-card .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.download-note {
    text-align: center;
    opacity: 0.8;
}

.download-note a {
    color: white;
    text-decoration: underline;
}

.download-note a:hover {
    opacity: 0.8;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--light);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
    color: var(--gray);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.form-success {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--success);
    font-weight: 500;
    display: none;
}

/* ===== Footer ===== */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===== Video Modal ===== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.video-iframe {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: black;
}

/* ===== Animation Classes ===== */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    will-change: opacity, transform;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    will-change: opacity, transform;
}

.fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
    will-change: opacity, transform;
}

.fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Responsive Styles ===== */
@media screen and (min-width: 992px) {
    .hero-image img {
        max-width: 70%;
    }
    
    .hero-top {
        align-items: flex-start;
    }
}

@media screen and (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .feature-item {
        gap: 40px;
    }
}

@media screen and (max-width: 992px) {
    :root {
        --section-spacing: 80px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-section {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
    }
    
    .hero-content {
        text-align: center;
        order: 1;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .notification-bubble {
        left: 10%;
        top: auto;
        bottom: -30px;
    }
    
    .feature-image {
        margin-bottom: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .video-container {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --section-spacing: 60px;
        --header-height: 70px;
    }
    
    header {
        padding-top: 0;
        display: flex;
        align-items: center;
    }
    
    .logo {
        left: 10px;
        transform: none;
        position: relative;
    }
    
    nav {
        justify-content: flex-start;
        align-items: center;
    }
    
    .mobile-nav-toggle {
        display: flex;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: white;
        padding: 30px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    header nav .btn {
        display: none;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-top {
        margin-bottom: 5px;
    }
    
    .hero-image {
        width: 80%;
        margin: 0 auto 5px;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .notification-bubble {
        width: 100px;
        left: 5px;
        right: auto;
        top: 5%;
        transform: none;
        bottom: auto;
        font-size: 0.65rem;
        text-align: left;
        padding: 5px 8px;
    }
    
    .notification-bubble i {
        font-size: 1rem;
    }
    
    .video-thumbnail {
        margin-top: 40px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .feature-item {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .hero-section {
        padding-top: calc(var(--header-height) + 20px);
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-top {
        margin-bottom: 10px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.button-container .btn {
    display: inline-flex;
    width: auto;
    min-width: 180px;
}

.section-separator {
    height: 100px;
    position: relative;
    background-color: var(--light);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    gap: 8px;
}

.separator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.7;
}

.separator-dot:nth-child(1) {
    width: 4px;
    height: 4px;
    opacity: 0.5;
}

.separator-dot:nth-child(3) {
    width: 4px;
    height: 4px;
    opacity: 0.5;
}

/* ===== Hero Section Video Styles ===== */

.hero-video-wrapper {
    margin-top: 60px; /* Space between hero content and video */
    /* No bottom margin needed as section padding handles it */
}

.hero-video-container {
    position: relative; /* For overlay positioning */
    width: 100%;
    max-width: 800px; /* Adjust max width as desired */
    margin: 0 auto; /* Center the container */
    border-radius: var(--border-radius-lg); /* Match site style */
    overflow: hidden; /* Clip corners */
    box-shadow: var(--shadow-md);
    line-height: 0; /* Prevent potential extra space */
}

.hero-video-container video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

/* The poster attribute handles the initial "greyed-out" visual */

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 58, 77, 0.5); /* Dark semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--border-radius-lg);
    transition: opacity 0.3s ease, background-color 0.3s ease;
    opacity: 1;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none; /* Make it non-interactive when hidden */
    visibility: hidden; /* Add explicit visibility property */
}

.video-overlay:hover {
    background-color: rgba(14, 58, 77, 0.7);
}

.play-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--dark);
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    width: 90px; /* Adjust size */
    height: 90px;
    font-size: 36px; /* Adjust icon size */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.play-button i {
    margin-left: 6px; /* Nudge FontAwesome play icon for visual center */
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Responsive */
@media screen and (max-width: 992px) {
    .hero-video-container {
        max-width: 90%;
    }
    .hero-video-wrapper {
        margin-top: 40px;
    }
}

@media screen and (max-width: 768px) {
    .play-button {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    .play-button i {
        margin-left: 4px;
    }
}

/* End Hero Section Video Styles */

/* ===== Registration Form ===== */
.registration-form {
    margin-top: 20px;
}

.registration-form .form-group {
    margin-bottom: 15px;
}

.registration-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background-color: white;
}

.registration-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.registration-form input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.registration-form .btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px 24px;
    font-size: 1.1rem;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-message.loading {
    background-color: rgba(90, 190, 179, 0.1);
    color: var(--primary);
    border: 1px solid rgba(90, 190, 179, 0.2);
}

.form-message.warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
} 