/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #005AA0;
    --secondary-color: #00B7C3;
    --primary-dark: #004080;
    --secondary-dark: #009aa5;
    --bg-primary: #0a0e1a;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #252b3d;
    --text-primary: #ffffff;
    --text-secondary: #b4c0d0;
    --text-muted: #8892a6;
    --border-color: #2d3548;
    --shadow-color: rgba(0, 90, 160, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, #001a33 0%, #003d66 50%, #005aa0 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 183, 195, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 90, 160, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 183, 195, 0.05) 0%, transparent 50%);
    min-height: 100vh;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    /* max-width: 1200px; */
    margin: 0 auto;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 0;
    background: var(--gradient-secondary);
    color: var(--text-primary);
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(0, 183, 195, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(0, 90, 160, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.primary-button {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 90, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.primary-button:hover::before {
    left: 100%;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 90, 160, 0.4);
}

.secondary-button {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border: 2px solid var(--secondary-color);
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.secondary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.secondary-button:hover::before {
    width: 100%;
}

.secondary-button:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.ai-chat-preview {
    background: rgba(37, 43, 61, 0.6);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chat-message {
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    max-width: 85%;
    animation: fadeInUp 0.6s ease;
}

.chat-message.user {
    background: var(--gradient-primary);
    margin-left: auto;
    color: white;
}

.chat-message.ai {
    background: rgba(0, 183, 195, 0.1);
    border: 1px solid rgba(0, 183, 195, 0.2);
    color: var(--text-primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(0, 183, 195, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 90, 160, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.features .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    padding: 0 2rem;
}

/* Better grid layout for ultrawide screens */
@media (min-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        margin: 4rem auto 0;
    }
}

@media (min-width: 1600px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1500px;
    }
}

.feature-card {
    background: var(--bg-tertiary);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 90, 160, 0.25);
    border-color: var(--secondary-color);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.feature-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 1.5rem;
    background: rgba(0, 183, 195, 0.1);
    border: 2px solid rgba(0, 183, 195, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    z-index: 2;
    transition: all 0.3s ease;
}


.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 3;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

.feature-tech {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.tech-tag {
    background: rgba(0, 90, 160, 0.2);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 183, 195, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .tech-tag {
    background: rgba(0, 183, 195, 0.3);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Special feature card variants */
.feature-card.primary-feature {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(0, 90, 160, 0.1) 100%);
    border-color: rgba(0, 90, 160, 0.3);
}

.feature-card.security-feature {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(0, 183, 195, 0.1) 100%);
    border-color: rgba(0, 183, 195, 0.3);
}

.feature-card.performance-feature {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(255, 193, 7, 0.1) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

.feature-card.security-feature .feature-icon-wrapper {
    background: rgba(0, 183, 195, 0.15);
    border-color: rgba(0, 183, 195, 0.3);
}

.feature-card.performance-feature .feature-icon-wrapper {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 183, 195, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 90, 160, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.pricing .container {
    position: relative;
    z-index: 2;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--text-primary);
}

.discount-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 90, 160, 0.3);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background: var(--gradient-primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.hidden {
    display: none !important;
}

.yearly-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.yearly-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.savings-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.savings-amount {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: pulse-savings 2s infinite;
}

@keyframes pulse-savings {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 183, 195, 0.15);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 90, 160, 0.2);
}

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

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 90, 160, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.plan-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.plan-price {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.check {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.plan-button {
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-plan-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 90, 160, 0.3);
}

.primary-plan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.primary-plan-btn:hover::before {
    left: 100%;
}

.primary-plan-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 90, 160, 0.4);
}

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

.secondary-plan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.secondary-plan-btn:hover::before {
    width: 100%;
}

.secondary-plan-btn:hover {
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.pricing-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.pricing-footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Trial Section */
.trial-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.trial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 183, 195, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 90, 160, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.trial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.trial-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trial-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.trial-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.trial-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 43, 61, 0.5);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trial-feature:hover {
    background: rgba(37, 43, 61, 0.8);
    border-color: var(--secondary-color);
    transform: translateX(10px);
}

.trial-icon {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trial-feature h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.trial-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.trial-cta {
    text-align: center;
}

.trial-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 90, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.trial-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.trial-button:hover::before {
    left: 100%;
}

.trial-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 90, 160, 0.4);
}

.trial-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-window {
    background: var(--bg-tertiary);
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--border-color);
}

.window-header {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    border-top: 3px solid var(--secondary-color);
}

.window-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.window-icon {
    font-size: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.25rem;
}

.control {
    width: 30px;
    height: 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.control:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.control.close:hover {
    background: #e74c3c;
    color: white;
}

.window-content {
    padding: 2rem;
}

.chat-interface {
    margin-bottom: 2rem;
}

.chat-message {
    margin-bottom: 1rem;
    display: flex;
    max-width: 85%;
}

.chat-message.user-msg {
    margin-left: auto;
}

.message-content {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message.ai-msg .message-content {
    background: rgba(0, 183, 195, 0.1);
    border: 1px solid rgba(0, 183, 195, 0.2);
    color: var(--text-primary);
}

.thinking-phase {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
    padding-left: 1rem;
    animation: show-thinking 6s infinite;
    opacity: 1;
}

.chat-message.answer-phase {
    animation: show-answer 6s infinite;
    opacity: 0;
    transform: translateY(10px);
    margin-top: -0.5rem;
}

.thinking-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
}

.typing-indicator {
    display: inline-flex;
    gap: 0.25rem;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: typing 1.5s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-10px); opacity: 1; }
}

@keyframes show-thinking {
    0%, 45% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    50%, 100% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
}

@keyframes show-answer {
    0%, 45% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
    }
    50% {
        opacity: 0;
        visibility: visible;
        transform: translateY(10px);
    }
    55%, 100% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.os-integration-demo {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.integration-badge {
    background: rgba(0, 90, 160, 0.2);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 183, 195, 0.3);
}

/* Integration Section */
.integration-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.integration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 70% 20%, rgba(0, 183, 195, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(0, 90, 160, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.integration-section .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.integration-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.integration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 90, 160, 0.15);
    border-color: var(--secondary-color);
}

.integration-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.integration-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.integration-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.integration-demo {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.9rem;
    font-family: 'Monaco', 'Menlo', monospace;
}

.integration-demo kbd {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-text {
    color: var(--secondary-color);
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

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

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 90, 160, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 90, 160, 0.4);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
}

/* Download Section */
.download {
    padding: 5rem 0;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 183, 195, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.download-content {
    position: relative;
    z-index: 2;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: 1;
}

.download-button:hover::before {
    width: 100%;
}

.download-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 90, 160, 0.2);
    border-color: var(--secondary-color);
    color: white;
}

.download-button:hover strong,
.download-button:hover small {
    position: relative;
    z-index: 2;
    color: white;
}

.platform-icon {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.download-button:hover .platform-icon {
    transform: scale(1.1);
    position: relative;
    z-index: 2;
}

.download-button div {
    text-align: left;
}

.download-button strong {
    display: block;
    font-weight: 600;
}

.download-button small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-brand h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

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

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-column a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-column a:hover::after {
    width: 100%;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

/* Desktop padding enhancements */
@media (min-width: 1024px) {
    .container {
        padding: 0 100px;
    }

    .nav {
        padding: 1rem 4rem;
    }

    .features-grid {
        padding: 0 3rem;
        gap: 3.5rem;
    }

    .steps {
        padding: 0 3rem;
        gap: 4rem;
    }

    .download-buttons {
        padding: 0 3rem;
    }
}

@media (min-width: 1200px) {
    .features-grid {
        padding: 0 4rem;
    }

    .steps {
        padding: 0 4rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: 600px;
        margin-top: 70px;
    }

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

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }

    .primary-button, .secondary-button {
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        text-align: center;
    }

    .ai-chat-preview {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .chat-message {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .features {
        padding: 4rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .pricing {
        padding: 4rem 0;
    }

    .pricing-toggle {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 3rem;
    }

    .toggle-label {
        font-size: 1rem;
    }

    .discount-badge {
        display: block;
        margin: 0.25rem auto 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }

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

    .plan-price {
        padding: 1rem 0;
    }

    .price {
        font-size: 2.5rem;
    }

    .trial-section {
        padding: 4rem 0;
    }

    .trial-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .trial-info h2 {
        font-size: 2rem;
        text-align: center;
    }

    .trial-subtitle {
        text-align: center;
        font-size: 1.1rem;
    }

    .mockup-window {
        max-width: 100%;
        margin: 0 1rem;
    }

    .window-content {
        padding: 1.5rem;
    }

    .integration-section {
        padding: 4rem 0;
    }

    .integration-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .integration-card {
        padding: 2rem;
    }

    .feature-card {
        padding: 2rem;
        border-radius: 1.5rem;
    }

    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin: 0;
    }

    .feature-card p {
        font-size: 1rem;
        text-align: center;
    }

    .feature-tech {
        justify-content: center;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

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

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .download {
        padding: 4rem 0;
    }

    .download-content h2 {
        font-size: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .download-button {
        width: 100%;
        max-width: 300px;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .primary-button, .secondary-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-header {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .feature-icon {
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .ai-chat-preview {
        padding: 1rem;
    }

    .chat-message {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        max-width: 90%;
    }

    .nav {
        padding: 0.8rem 1rem;
    }

    .logo-img {
        height: 35px;
    }

    .download-content h2 {
        font-size: 1.8rem;
    }

    .download-content p {
        font-size: 1rem;
    }

    .download-button {
        padding: 1.2rem 1.5rem;
        min-width: 180px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .cta-button, .primary-button, .secondary-button, .download-button {
        min-height: 48px;
        touch-action: manipulation;
    }

    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .feature-card {
        touch-action: manipulation;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero .container {
        gap: 2rem;
    }

    .features {
        padding: 3rem 0;
    }
}

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

/* Mobile performance optimizations */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .hero::before,
    .features::before,
    .download::before {
        background: none;
    }

    .feature-card::before,
    .feature-card::after {
        display: none;
    }

    .icon-glow {
        display: none;
    }

    .feature-card {
        will-change: transform;
    }

    .primary-button::before,
    .secondary-button::before,
    .cta-button::before {
        display: none;
    }

    /* Simplified hover effects for mobile */
    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 90, 160, 0.2);
    }
}

/* Prevent horizontal scrolling */
body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Enhance mobile scrolling */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}