/* 
* FamilyGuard - Modern Premium Design System 
* Theme: Tech/Security (Green/Dark/Glass)
*/

:root {
    /* Colors */
    --primary: #00C853;
    /* Vivid Green */
    --primary-dark: #009624;
    --primary-light: #69F0AE;
    --secondary: #1A237E;
    /* Deep Blue */
    --accent: #00E676;

    --surface-dark: #0F172A;
    --surface-card: rgba(255, 255, 255, 0.8);
    --surface-glass: rgba(255, 255, 255, 0.7);

    --text-main: #1E293B;
    --text-secondary: #475569;
    --text-light: #94A3B8;

    --gradient-primary: linear-gradient(135deg, #00C853 0%, #009624 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(0, 200, 83, 0.2) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 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);
    --shadow-glow: 0 0 20px rgba(0, 200, 83, 0.3);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: #F8FAFC;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 2px 4px rgba(0, 200, 83, 0.3));
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a:not(.btn-cta) {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:not(.btn-cta):hover {
    color: var(--primary);
}

.btn-cta {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.4);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, rgba(0, 200, 83, 0.05) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(26, 35, 126, 0.05) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-content .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 200, 83, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #E2E8F0;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

.trust-indicators {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid #E2E8F0;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-indicators i {
    color: var(--primary);
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.phone-mockup .screen {
    background: white;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 12px #1E293B,
        0 0 0 14px #334155,
        0 50px 100px -20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.whatsapp-interface {
    background: #E5DDD5;
    border-radius: 32px;
    height: 600px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.qr-connection {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    margin: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: white;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 24px;
}

.qr-pattern {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, #1E293B 25%, transparent 25%),
        linear-gradient(-45deg, #1E293B 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #1E293B 75%),
        linear-gradient(-45deg, transparent 75%, #1E293B 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.8;
}

.connection-status {
    background: #DCF8C6;
    padding: 12px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #075E54;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #F1F5F9;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background: #F8FAFC;
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 64px;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
    font-family: var(--font-display);
    border: 4px solid #F8FAFC;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: #F8FAFC;
}

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

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.stars {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 24px;
    letter-spacing: 4px;
}

.testimonial p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    font-style: italic;
}

.author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author strong {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
}

.author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pricing */
.pricing {
    padding: 120px 0;
    background: white;
}

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

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 48px 32px;
    border: 1px solid #E2E8F0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 2;
}

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

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

.badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.price {
    margin: 24px 0;
    color: var(--text-main);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text-main);
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--text-secondary);
}

.period {
    color: var(--text-light);
    font-size: 1rem;
}

.features-list {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.features-list i {
    color: var(--primary);
    font-size: 1.1rem;
}

.btn-plan {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #F1F5F9;
    color: var(--text-main);
    border: none;
}

.btn-plan:hover {
    background: #E2E8F0;
}

.btn-plan.primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

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

/* CTA Section */
.cta {
    background: var(--surface-dark);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 200, 83, 0.1) 0%, transparent 70%);
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.btn-cta-large {
    background: var(--primary);
    color: white;
    border: none;
    padding: 20px 48px;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    margin: 40px 0;
    box-shadow: 0 0 40px rgba(0, 200, 83, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-cta-large:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(0, 200, 83, 0.6);
}

/* Footer */
.footer {
    background: #0B1120;
    color: #94A3B8;
    padding: 80px 0 32px;
}

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

.footer .logo {
    color: white;
    margin-bottom: 24px;
}

.footer h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
}

.footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

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

.social-links a {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.social-links a:hover {
    background: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .trust-indicators {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}