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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --white: #ffffff;
    --border-radius: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

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

.container.flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header:hover {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #f0f0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.arrow-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    cursor: pointer;
}

.arrow-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.arrow-button:hover::before {
    width: 300px;
    height: 300px;
}

.arrow-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}



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

.hero-img {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

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

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-light), #ffffff);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.featured-section h2 {
    line-height: 1.2;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.featured-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff, var(--bg-light));
}

.features-page {
    padding: 40px 0 120px 0; /* 40px top, 120px bottom */
    min-height: calc(100vh - 200px);
}

.features h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Remove top margin and set a small bottom margin for all h3s */
.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.2rem;
}

/* Add more space only after the last h3 in the card */
.feature-card h3:last-child {
    margin-bottom: 0.7rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Feature Details Section */
.feature-details {
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


.detail-section {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.detail-section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.detail-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.detail-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.detail-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.detail-section li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.detail-section li strong {
    color: var(--text-dark);
}

.heroes-villains {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.heroes, .villains {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.heroes:hover, .villains:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.villains {
    border-left-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
}

.heroes h4, .villains h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.heroes p, .villains p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .heroes-villains {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-section {
        padding: 1.5rem;
    }
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-light), #ffffff);
}

.video-section h2 {
    line-height: 1.2;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-container iframe {
    width: 100%;
    height: 500px;
    display: block;
}

.video-placeholder {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 4rem;
    text-align: center;
    border: 2px dashed var(--primary-color);
}

.play-button {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    cursor: pointer;
}

/* Signup Section */
.signup-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.signup-page {
    padding: 120px 0;
    min-height: calc(100vh - 200px);
}

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

.signup-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.signup-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.waitlist-message {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 1;
    font-weight: 400;
}

.waitlist-cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    margin-top: 1rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group input:focus {
    outline: 2px solid var(--white);
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.success-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
footer {
    padding: 2rem 0;
    background: var(--text-dark);
    color: var(--white);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-img {
        width: 100%;
        max-width: 400px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .video-container iframe {
        height: 300px;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .detail-section {
        padding: 1.5rem;
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track .feature-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: 280px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Carousel Responsive */
@media (max-width: 1024px) {
    .carousel-track .feature-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 50px;
    }

    .carousel-track .feature-card {
        flex: 0 0 100%;
        min-width: 250px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

.modal-body {
    padding: 3rem;
    padding-bottom: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 1.5rem 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    position: sticky;
    bottom: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.modal-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.modal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.modal-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.modal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.modal-content em {
    color: var(--primary-color);
    font-style: italic;
}

.modal-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1.2rem 2rem;
    margin: 0;
    animation: none !important;
    transition: none !important;
}

.modal-cta::before {
    display: none !important;
}

.modal-cta:hover {
    transform: none !important;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-body {
        padding: 2rem;
        padding-bottom: 1rem;
    }

    .modal-footer {
        padding: 1rem 2rem;
    }

    .modal-content {
        max-height: 90vh;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-icon {
        font-size: 3rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        width: 35px;
        height: 35px;
    }
}

/* Interactive Demo Section */
.interactive-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.demo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.demo-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.demo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.demo-stat {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Screen Time Input */
.screentime-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.screentime-input {
    width: 120px;
    padding: 0.75rem 1rem;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.screentime-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.screentime-input:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

.screentime-unit {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Benefits Display */
.benefit-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: scale(1.05);
}

.benefit-item p {
    color: var(--text-dark);
    margin: 0;
    font-size: 0.95rem;
}

.benefit-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Features Preview */
.features-preview {
    padding: 4rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-preview-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-preview-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    -webkit-background-clip: text;
    background-clip: text;
}

.pricing-section p {
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.pricing-featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.custom-price p {
    color: white;
}

/* Button Variations */
.cta-primary {
    background: var(--primary-color);
    color: white;
}

.cta-secondary {
    background: #10b981;
    color: white;
}

.cta-secondary:hover {
    background: #059669;
}

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

.cta-ghost:hover {
    background: var(--primary-color);
    color: white;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal base styles (for reservation & custom price modals) */
#reservation-modal,
#custom-price-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

#reservation-modal .modal-content,
#custom-price-modal .modal-content {
    background: white;
    margin: 0;
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideDown 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: #333;
}

#reservation-modal .modal-content h2,
#custom-price-modal .modal-content h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

#reservation-modal .modal-content p,
#custom-price-modal .modal-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

#reservation-modal form,
#custom-price-modal form {
    margin-top: 1.5rem;
}

#reservation-modal label,
#custom-price-modal label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

#reservation-modal input,
#custom-price-modal input {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#reservation-modal input:focus,
#custom-price-modal input:focus {
    outline: none;
    border-color: var(--primary-color);
}

#reservation-modal button[type="submit"],
#custom-price-modal button[type="submit"] {
    width: 100%;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-featured {
        transform: scale(1);
    }

    #reservation-modal .modal-content,
    #custom-price-modal .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group .cta-button {
        width: 100%;
    }
}

.features-grid.all-visible {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.features-grid.all-visible .feature-card {
    padding: 1.2rem;
}

.features-grid.all-visible .feature-card h3 {
    margin: 0 !important;
    padding: 0;
    line-height: 1.1;
    font-size: 1rem;

}

.features-grid.all-visible .feature-card p {
    font-size: 0.9rem;
}

.features.features-page {
    max-width: 100vw;
    padding: 1.5rem 0 2rem 0;
}

.features-grid.all-visible {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.features-grid.all-visible .feature-card {
    padding: 0.7rem;
}


.features-grid.all-visible .feature-card p {
    font-size: 0.8rem;
}

@media (max-width: 1200px) {
    .features-grid.all-visible {
        grid-template-columns: repeat(3, 1fr);
    }
}

.features .features-grid ~ h3,
.features.features-page h3 {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.features-page h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.feature-icon img {
    width: 4rem;
    height: 4rem;
    display: inline-block;
}

.feature-card h3 + h3 {
    margin-top: 0; /* No negative margin */
}