/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0057D9;
    --secondary-color: #F5F7FA;
    --accent-color: #FFB800;
    --text-primary: #1C1C1C;
    --text-secondary: #666666;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

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

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

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

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

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

.btn-accent:hover {
    background-color: #E6A600;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.phone-link {
    background-color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    margin-bottom: 2rem;
}

.hero-features span {
    background-color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guarantee {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

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

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s ease;
    animation: heroImageFloat 6s ease-in-out infinite;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-family-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: all 0.6s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 87, 217, 0.1) 0%,
        rgba(0, 87, 217, 0.05) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.phone-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 87, 217, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0, 87, 217, 0.3);
    animation: phoneIndicatorPulse 3s ease-in-out infinite;
}

.phone-indicator i {
    font-size: 1.2rem;
    color: var(--white);
}

.signal-bars {
    display: flex;
    gap: 2px;
    align-items: flex-end;
}

.bar {
    width: 3px;
    background-color: var(--white);
    border-radius: 2px;
    animation: signalPulse 2s infinite;
}

.bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.bar:nth-child(2) { height: 12px; animation-delay: 0.2s; }
.bar:nth-child(3) { height: 16px; animation-delay: 0.4s; }
.bar:nth-child(4) { height: 20px; animation-delay: 0.6s; }

@keyframes heroImageFloat {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0px);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    }
}

@keyframes phoneIndicatorPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 87, 217, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(0, 87, 217, 0.4);
    }
}

@keyframes signalPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% { 
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* Add a subtle glow effect on hover */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-image-container:hover::before {
    opacity: 0.3;
    animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-headline {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subheadline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Features Grid */
.features-grid {
    background-color: var(--light-gray);
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Safety Section */
.safety-section {
    background-color: var(--white);
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.safety-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.safety-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.safety-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.safety-point i {
    color: var(--success-color);
    font-size: 1.25rem;
    margin-top: 2px;
}

.safety-point strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.emergency-icon {
    position: relative;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emergency-icon i {
    font-size: 3rem;
    color: var(--white);
}

.pulse-ring {
    position: absolute;
    border: 3px solid #EF4444;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

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

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

.pricing-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.price-box {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-feature i {
    color: var(--success-color);
    font-size: 1.125rem;
}

/* Feature List */
.feature-list {
    background-color: var(--light-gray);
}

.feature-list h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-list > .container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 20px;
}

.feature-item span {
    font-weight: 500;
}

/* Mobile Section */
.mobile-section {
    background-color: var(--white);
}

.mobile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mobile-features {
    list-style: none;
    margin-top: 2rem;
}

.mobile-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 2rem;
}

.mobile-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.phone-mockup-mobile {
    position: relative;
    background: linear-gradient(135deg, var(--text-primary), #374151);
    width: 180px;
    height: 320px;
    border-radius: 25px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-mockup-mobile i {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.app-screen {
    background-color: var(--white);
    width: 100%;
    height: 200px;
    border-radius: 15px;
    padding: 1rem;
}

.app-header {
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.call-button {
    width: 60px;
    height: 60px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
}

.call-button i {
    color: var(--white);
    font-size: 1.5rem;
}

/* Target Audience */
.target-audience {
    background-color: var(--secondary-color);
}

.target-audience h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.audience-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
}

.audience-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Setup Section */
.setup-section {
    background-color: var(--white);
}

.setup-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.setup-section > .container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.setup-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.step:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.setup-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-gray);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color), #0041A3);
    color: var(--white);
}

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

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.final-cta .guarantee {
    opacity: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.close:hover {
    color: var(--text-primary);
}

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

.signup-form input {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-headline {
        font-size: 3rem;
    }
    
    .section-headline {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-content,
    .safety-content,
    .mobile-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        transform: none;
        animation: none;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-image-container:hover {
        transform: scale(1.02);
    }
    
    .hero-family-image {
        max-width: 100%;
    }
    
    .phone-indicator {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
    }
    
    .phone-indicator i {
        font-size: 1rem;
    }
    
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .setup-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step:not(:last-child):after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -1rem;
        transform: translateX(50%);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .section-headline {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .price .amount {
        font-size: 3rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
}

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

/* Focus styles for accessibility */
.btn:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animation for buttons */
.btn:active {
    transform: translateY(1px);
}
