/* EyeSights Modern Design - Portal Colors + Cluely Flow */

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

:root {
    /* Aligned with portal design system - HSL converted to hex */
    --primary: #1178c7;           /* Portal: HSL(208, 85%, 45%) - medical blue */
    --primary-dark: #0e5f9e;      /* Darker variant */
    --primary-light: #4a9cd8;     /* Lighter variant */
    --accent: #17b3b3;            /* Portal: HSL(185, 80%, 45%) - teal */
    --accent-dark: #0f8a8a;       /* Darker teal */
    --accent-light: #5fd4d4;      /* Lighter teal */
    --bg-gradient: linear-gradient(180deg, #f5f8fa 0%, #edf2f7 100%);
    --text-primary: #2d3748;      /* Portal: HSL(215, 25%, 20%) */
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

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

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 128, 255, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
}

.logo img {
    height: 40px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-wrap: nowrap;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0099ff;
    white-space: nowrap;
}

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

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

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 32px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.12);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 128, 255, 0.16);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 14px 32px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 230, 102, 0.12);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

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

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 128, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 230, 102, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Social Proof Section */
.social-proof {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 128, 255, 0.1);
    border-bottom: 1px solid rgba(0, 128, 255, 0.1);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.trust-badge svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
}

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

.step-card {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 128, 255, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 128, 255, 0.12);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(17, 120, 199, 0.3);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 16px auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(17, 120, 199, 0.1), rgba(23, 179, 179, 0.1));
    border-radius: 16px;
    color: var(--primary);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Product Preview Section */
.product-preview {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(17, 120, 199, 0.03) 0%, rgba(23, 179, 179, 0.03) 100%);
}

.dashboard-preview {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 128, 255, 0.1);
    background: white;
}

.dashboard-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.mockup-browser {
    background: #2d2d44;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca41; }

.browser-url {
    flex: 1;
    background: #1a1a2e;
    padding: 6px 12px;
    border-radius: 6px;
    color: #888;
    font-size: 12px;
    text-align: center;
}

.mockup-app {
    display: flex;
    height: 320px;
    background: #f8fafc;
}

.app-sidebar {
    width: 60px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 8px;
}

.sidebar-item.active {
    background: linear-gradient(135deg, #0099ff, #12c994);
}

.app-main {
    flex: 1;
    padding: 20px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-title {
    width: 150px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 4px;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.header-actions span {
    width: 80px;
    height: 32px;
    background: linear-gradient(135deg, #0099ff, #12c994);
    border-radius: 6px;
    display: block;
}

.header-actions span:last-child {
    background: #e2e8f0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.cal-day {
    height: 65px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.cal-day.scheduled {
    background: linear-gradient(135deg, rgba(0,153,255,0.1), rgba(18,201,148,0.1));
    border-color: #0099ff;
    position: relative;
}

.cal-day.scheduled::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 8px;
    background: linear-gradient(90deg, #0099ff, #12c994);
    border-radius: 4px;
}

.preview-caption {
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

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

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 128, 255, 0.12);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.feature-item {
    text-align: center;
    flex: 0 1 280px;
    max-width: 320px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 16px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
}

.cta-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 128, 255, 0.12);
}

.cta-card h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    padding: 60px 0 24px;
    border-top: 1px solid rgba(0, 128, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 128, 255, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero {
        padding: 80px 0;
        min-height: 60vh;
    }
    
    .how-it-works, .features, .cta, .product-preview {
        padding: 60px 0;
    }

    .social-proof {
        padding: 24px 0;
    }

    .trust-badges {
        gap: 24px;
    }

    .trust-badge {
        font-size: 13px;
    }

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

    .step-card {
        padding: 40px 24px;
    }

    .dashboard-preview {
        border-radius: 12px;
    }

    .cta-card {
        padding: 60px 32px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        text-align: center;
    }
}

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

/* === Additional Page Styles === */

/* Page Hero */
.page-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.page-hero h1 {
    font-size: clamp(36px, 4vw, 56px);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.values-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

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

.value-card {
    text-align: center;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 128, 255, 0.12);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

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

.team-section {
    padding: 80px 0;
}

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

.team-card {
    text-align: center;
    padding: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.08);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
}

.team-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.quick-links {
    margin-top: 40px;
}

.quick-links h4 {
    margin-bottom: 16px;
}

.quick-links a {
    display: block;
    margin-bottom: 12px;
    width: fit-content;
}

.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid rgba(0, 128, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}

.form-message.success {
    background: rgba(0, 230, 102, 0.1);
    border: 2px solid var(--accent);
    color: var(--accent-dark);
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff0000;
    color: #cc0000;
    display: block;
}

/* Blog Page Styles */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.blog-post {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.08);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 128, 255, 0.12);
}

.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
}

.blog-post.featured .blog-image {
    height: 100%;
}

.blog-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.blog-category {
    color: var(--primary);
    font-weight: 600;
}

.blog-post h2,
.blog-post h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-post h2 {
    font-size: 28px;
}

.blog-post h3 {
    font-size: 20px;
}

.blog-post p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.newsletter-cta {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 32px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(0, 128, 255, 0.2);
    border-radius: 9999px;
    font-size: 16px;
    font-family: inherit;
}

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

.newsletter-form button {
    padding: 14px 32px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 8px 24px rgba(0, 128, 255, 0.12);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-post.featured {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
    
    .blog-post.featured .blog-image {
        height: 200px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

/* ===== ANIMATIONS ===== */

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* Hero animations */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Trust badges stagger */
.trust-badge {
    animation: fadeInUp 0.6s ease-out both;
}

.trust-badge:nth-child(1) { animation-delay: 0.6s; }
.trust-badge:nth-child(2) { animation-delay: 0.7s; }
.trust-badge:nth-child(3) { animation-delay: 0.8s; }

/* Enhanced hover effects */
.step-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(17, 120, 199, 0.15);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.feature-item {
    transition: all 0.3s ease;
}

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

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(17, 120, 199, 0.3);
}

.feature-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button enhanced hover */
.btn-primary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(17, 120, 199, 0.25);
}

.btn-outline {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 120, 199, 0.15);
}

/* Dashboard preview hover */
.dashboard-preview {
    transition: all 0.4s ease;
}

.dashboard-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 12px 32px rgba(0, 128, 255, 0.15);
}

/* CTA card animation */
.cta-card {
    transition: all 0.4s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 128, 255, 0.18);
}

/* Gradient text shimmer effect */
.gradient-text {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Nav link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Step number pulse on hover */
.step-card:hover .step-number {
    animation: pulse 1s ease infinite;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== LEGAL PAGES (Privacy Policy, Terms of Service) ===== */

.legal-section {
    padding: 60px 0 120px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 48px 56px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 128, 255, 0.08);
}

.legal-content h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(17, 120, 199, 0.2);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.legal-content li strong {
    color: var(--text-primary);
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 32px 24px;
        border-radius: 12px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-content h3 {
        font-size: 16px;
    }

    .legal-section {
        padding: 40px 0 80px;
    }
}

/* ===== PRICING SECTION ===== */

.pricing {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(17, 120, 199, 0.03) 0%, rgba(23, 179, 179, 0.03) 100%);
}

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

.pricing-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 128, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 128, 255, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(17, 120, 199, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 128, 255, 0.1);
}

.pricing-header h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .price-amount {
        font-size: 40px;
    }
}
