/* CSS Variables */
:root {
    --primary-yellow: #FFC000;
    --primary-orange: #FFA500;
    --deep-orange: #FF7900;
    --dark-text: #1A1A1A;
    --light-bg: #FFF8E1;
    --accent-stars: #2B2D42;
    --white: #FFFFFF;

    --cta-gradient: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    --cta-gradient-hover: linear-gradient(135deg, var(--primary-orange) 0%, var(--deep-orange) 100%);

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 999px;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset & Accessibility */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* subtle stars motif using a pseudo element later */
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover,
a:focus {
    color: var(--deep-orange);
}

a:focus-visible,
button:focus-visible,
details:focus-visible {
    outline: 3px solid var(--deep-orange);
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.reveal {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.reveal.active {
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    visibility: visible;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--cta-gradient);
    color: var(--dark-text);
    box-shadow: 0 4px 14px rgba(255, 165, 0, 0.4);
}

.btn-primary:hover {
    background: var(--cta-gradient-hover);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 121, 0, 0.5);
}

.btn-primary:hover .play-icon {
    /* icon color inversion on hover to aid contrast against darker orange */
    color: var(--white);
}

.btn-secondary {
    background: rgba(26, 26, 26, 0.05);
    color: var(--dark-text);
}

.btn-secondary:hover {
    background: rgba(26, 26, 26, 0.1);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
}

.brand-logo img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.brand-logo:hover {
    color: var(--primary-orange);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 20px 30px, var(--accent-stars), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, var(--accent-stars), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 160px, var(--accent-stars), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, var(--accent-stars), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 130px 80px, var(--accent-stars), rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-logo {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    animation: fadeIn 1s ease-out forwards;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255, 192, 0, 0.2);
    color: var(--dark-text);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.trust-badge .icon {
    color: var(--deep-orange);
    font-weight: 800;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subheading {
    font-size: 1.125rem;
    color: #4A4A4A;
    margin-bottom: 2rem;
}

.trust-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: left;
    display: inline-flex;
}

.trust-bullets span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.trust-bullets svg {
    color: var(--primary-orange);
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
}

.mockup-placeholder {
    background: var(--white);
    border-radius: 36px;
    border: 8px solid var(--dark-text);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    aspect-ratio: 1 / 2;
    transform: translateY(0);
}

.mockup-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.02);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(255, 192, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 192, 0, 0.05) 0%, rgba(255, 165, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 192, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--cta-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--dark-text);
}

.icon-wrap svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .icon-wrap svg {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #4A4A4A;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--light-bg);
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--cta-gradient);
    color: var(--dark-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 14px rgba(255, 165, 0, 0.3);
    transition: transform 0.4s;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(-10deg);
}

.step-card h3 {
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #4A4A4A;
    font-size: 0.95rem;
}

/* FAQ & Footer Section */
.site-footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.site-footer .section-title {
    color: var(--white);
}

.faq-section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    list-style: none;
    /* Hide default arrow */
    font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-yellow);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
}

.brand-info h3 {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.brand-info p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.contact-info a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover,
.contact-info a:hover {
    color: var(--primary-orange);
    opacity: 1;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.disclaimer,
.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}

.disclaimer strong {
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries */
@media (min-width: 768px) {
    .hero {
        padding: 7rem 0 5rem;
    }

    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .hero-content {
        text-align: left;
        flex: 1;
    }

    .hero-badges {
        justify-content: flex-start;
    }

    .trust-bullets {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .cta-group {
        flex-direction: row;
    }

    .hero-image {
        flex: 0 0 300px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .subheading {
        font-size: 1.25rem;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}