/* Global Styles */
:root {
    --primary-color: #2563EB;        /* Professional blue */
    --secondary-color: #1E40AF;      /* Deeper blue */
    --success-color: #059669;        /* Calm teal-green */
    --warning-color: #D97706;        /* Warm amber */
    --danger-color: #DC2626;         /* Muted red */
    --dark-color: #1F2937;           /* Sophisticated dark gray */
    --gray-color: #6B7280;           /* Balanced medium gray */
    --light-gray: #F9FAFB;           /* Clean off-white */
    --accent-gray: #E5E7EB;          /* Subtle border gray */
    --text-gray: #374151;            /* Readable text gray */
    --white: #FFFFFF;
    --max-width: 1200px;
    --border-radius: 8px;            /* Slightly less rounded for professional look */
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--accent-gray);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    height: 32px;
    width: auto;
}

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

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

.nav-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.nav-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

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

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

.hero-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 16px;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.phone-mockup {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

.phone-mockup img {
    width: 100%;
    border-radius: 20px;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Eye Dominance Measurement Techniques */
.measurement-techniques {
    padding: 80px 20px;
    background: var(--white);
}

.infographic-container {
    text-align: center;
    margin: 40px 0;
}

.infographic {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.infographic-caption {
    margin-top: 20px;
    color: var(--gray-color);
    font-style: italic;
    text-align: center;
    font-size: 0.9rem;
}

/* How It Works Carousel */
.how-it-works {
    padding: 80px 20px;
    background: var(--white);
}

.carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.carousel-slide {
    display: none;
    padding: 40px;
    background: var(--light-gray);
    text-align: center;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.carousel-slide img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.carousel-slide h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-controls button {
    pointer-events: all;
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.carousel-controls button:hover {
    background: var(--primary-color);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

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

/* Unique Features Section */
.unique-features {
    padding: 80px 20px;
    background: var(--light-gray);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
}

.comparison-card.highlighted {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cons-list, .pros-list {
    list-style: none;
    line-height: 2;
}

.cons-list li::before {
    content: "✗ ";
    color: var(--danger-color);
    font-weight: bold;
    margin-right: 10px;
}

.pros-list li::before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 10px;
}

.comparison-card.highlighted .pros-list li::before {
    color: var(--white);
}

/* Download Section */
.download {
    padding: 80px 20px;
    background: var(--white);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.download-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.download-note {
    margin-top: 20px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.download-features h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.download-features ul {
    list-style: none;
    line-height: 2;
}

.download-features li {
    padding-left: 30px;
    position: relative;
}

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

/* Disclaimer */
.disclaimer {
    background: var(--warning-color);
    color: var(--white);
    padding: 24px;
    margin: 40px 0 0 0;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    line-height: 1.6;
}

.disclaimer h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--gray-color);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 15px;
        z-index: 1000;
    }
    
    .nav-mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .comparison-grid,
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .comparison-card.highlighted {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}