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

:root {
    --primary-color: #10182a;
    --primary-dark: #0a0f1a;
    --secondary-color: #4a5568;
    --accent-color: #2d3748;
    --accent-light: #4a5568;
    --text-primary: #10182a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --background-primary: #ffffff;
    --background-secondary: #f8fafc;
    --background-accent: rgba(16, 24, 42, 0.02);
    --background-dark: #10182a;
    --border-color: #e2e8f0;
    --border-accent: rgba(16, 24, 42, 0.1);
    --border-light: #f1f5f9;
    --glass-overlay: rgba(16, 24, 42, 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(16 24 42 / 0.1), 0 1px 2px 0 rgb(16 24 42 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(16 24 42 / 0.1), 0 2px 4px -1px rgb(16 24 42 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(16 24 42 / 0.1), 0 4px 6px -2px rgb(16 24 42 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(16 24 42 / 0.1), 0 10px 10px -5px rgb(16 24 42 / 0.04);

    /* Enhanced color palette */
    --blue-primary: #2563eb;
    --blue-light: #3b82f6;
    --blue-dark: #1d4ed8;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
}

body {
    font-family: 'Source Sans Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.nav-brand .brand-text {
    font-size: 1.375rem;
    font-weight: 600;
    color: white;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    position: relative;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.2s ease;
}

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

/* Dropdown styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}


.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(16, 24, 42, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Main content */
main {
    margin-top: 0;
}

/* Hero section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-accent);
    padding: 0;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 80px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 600;
    line-height: 1.15;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.btn-primary,
.btn-secondary {
    padding: 1rem 2.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--background-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* Hero visual - removed as we now use full-width video */

.glass-element {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 24, 42, 0.15), rgba(37, 99, 235, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 24, 42, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.glass-element::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(16, 24, 42, 0.4), rgba(37, 99, 235, 0.3), transparent);
    animation: rotate 15s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Video styling */
.hero-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.hero-video:hover {
    transform: none;
    box-shadow: none;
}

.product-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    margin: 2rem auto;
    display: block;
}

.product-video:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -8px rgb(16 24 42 / 0.2);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    pointer-events: none;
    z-index: 1;
}

/* Section styles */
section {
    padding: 8rem 0;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 5rem;
    line-height: 1.7;
    font-weight: 400;
}

/* About section */
.about {
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--indigo-50) 100%);
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--blue-primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Carrier benefits section */
.carrier-benefits {
    background: white;
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
}

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

.benefit-card {
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--indigo-50) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-accent);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--blue-primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

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

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Integrations section */
.integrations {
    background: linear-gradient(to bottom, #57634F 0%, #081831 100%);
}

.platforms-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.platform-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-accent);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--blue-primary));
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

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

.platform-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.platform-logo-img {
    max-height: 50px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
    transition: all 0.3s ease;
}

.platform-card:hover .platform-logo-img {
    filter: grayscale(0%) brightness(1);
}

.platform-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.integration-note {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--slate-50), var(--indigo-50));
    border-radius: 12px;
    border: 1px solid var(--border-accent);
    position: relative;
}

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

/* Contact section */
.contact {
    background: linear-gradient(135deg, var(--indigo-50) 0%, var(--slate-50) 100%);
    color: var(--text-primary);
    border-top: 1px solid var(--border-accent);
}

.contact .section-title,
.contact .section-description {
    color: var(--text-primary);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--blue-primary));
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.contact-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    resize: none;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(16, 24, 42, 0.08);
}

.form-group label {
    position: absolute;
    top: -0.75rem;
    left: 1rem;
    background: white;
    padding: 0 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.01em;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-note {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.25rem;
}

/* Product page styles */
.product-hero {
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--indigo-50) 100%);
    padding: 8rem 0 6rem;
    border-bottom: 1px solid var(--border-accent);
}

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

.product-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.product-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.product-features {
    background: white;
    padding: 6rem 0;
}

.product-benefits {
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--indigo-50) 100%);
    padding: 6rem 0;
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
}

.product-contact {
    background: white;
    padding: 6rem 0;
}

.contact-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero-content {
        text-align: center;
        padding: 0 1.5rem;
    }

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

    .glass-element {
        width: 180px;
        height: 180px;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .product-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    main {
        margin-top: 0;
    }

    .nav-container {
        padding: 0 1rem 0 0.75rem;
    }

    .nav-links {
        display: flex;
        gap: 1rem;
    }

    /* Hide non-dropdown nav items on mobile */
    .nav-links .nav-link:not(.dropdown-toggle) {
        display: none;
    }

    /* Mobile dropdown positioning */
    .dropdown-menu {
        position: fixed;
        top: 80px;
        left: 1rem;
        right: 1rem;
        min-width: auto;
        width: calc(100% - 2rem);
        max-width: none;
    }

    .section-content {
        padding: 0 1rem;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        top: 0;
        padding: 0 1rem;
        padding-top: 70px;
        width: 100%;
    }

    .hero-title {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.875rem;
    }

    section {
        padding: 4rem 0;
    }

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

    .platforms-showcase {
        grid-template-columns: 1fr;
    }

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

    .product-hero {
        padding: 6rem 0 4rem;
    }

    .product-title {
        font-size: 2rem;
    }

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

    .product-cta {
        flex-direction: column;
        align-items: center;
    }

    .product-features,
    .product-benefits,
    .product-contact {
        padding: 4rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        top: 0;
        padding: 0 1rem;
        padding-top: 70px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    section {
        padding: 3rem 0;
    }

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-subtitle {
        font-size: 0.95rem;
    }

    .product-hero {
        padding: 4rem 0 3rem;
    }

    .product-features,
    .product-benefits,
    .product-contact {
        padding: 3rem 0;
    }
}