/* Base Styles & Variables */
:root {
    /* Colors */
    --bg-dark: #0A0D17;
    --bg-card: #131726;
    --bg-card-hover: #1A1F33;
    
    --text-primary: #FFFFFF;
    --text-secondary: #9BA3BB;
    --text-muted: #5B6482;
    
    --accent-primary: #00B2D4;
    --accent-hover: #0093AF;
    --accent-secondary: #00E5FF;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 178, 212, 0.3);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography elements */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.highlight {
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
}

/* UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 0.5rem;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #007A99);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 178, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 178, 212, 0.4);
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}

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

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

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

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

.btn-outline {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
    margin-bottom: var(--spacing-sm);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(0, 178, 212, 0.1);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid var(--border-highlight);
    margin-bottom: var(--spacing-md);
}

.glass-panel {
    background: rgba(19, 23, 38, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    z-index: 100;
    transition: background var(--transition-normal), border var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 13, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-img {
    height: 135px;
    width: auto;
    max-width: 480px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.nav-links a.active {
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-primary);
    border-radius: 2px;
}

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 190px;
    padding-bottom: var(--spacing-xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.6);
    z-index: 0;
}

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

.hero-content p {
    margin-bottom: var(--spacing-md);
    max-width: 90%;
}

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

.hero-visual {
    position: relative;
}

.mockup {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    background: rgba(19, 23, 38, 0.8);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 1.5rem;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.dots span:nth-child(1) { background-color: #FF5F56; }
.dots span:nth-child(2) { background-color: #FFBD2E; }
.dots span:nth-child(3) { background-color: #27C93F; }

.mockup-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.skeleton-line {
    height: 12px;
    background: var(--bg-card-hover);
    border-radius: 6px;
    margin-bottom: 1rem;
    width: 100%;
}

.skeleton-line.title {
    height: 24px;
    width: 70%;
    margin-bottom: 1.5rem;
}

.skeleton-line.short {
    width: 40%;
}

.audio-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 60px;
    margin: 2rem 0;
}

.audio-wave span {
    width: 4px;
    background-color: var(--accent-primary);
    border-radius: 2px;
    animation: wave 1.5s infinite ease-in-out;
}

.audio-wave span:nth-child(2n) { animation-delay: 0.2s; height: 40%; }
.audio-wave span:nth-child(3n) { animation-delay: 0.4s; height: 80%; }
.audio-wave span:nth-child(5n) { animation-delay: 0.6s; height: 60%; }
.audio-wave span:nth-child(7n) { animation-delay: 0.8s; height: 100%; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(39, 201, 63, 0.1);
    color: #27C93F;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(0, 178, 212, 0.3);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: rgba(0, 92, 212, 0.2);
}

/* Clients */
.clients {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
    transition: opacity var(--transition-normal);
}

.client-logos:hover {
    opacity: 0.8;
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    filter: grayscale(100%);
}

.client-logo:hover {
    color: var(--text-primary);
    filter: grayscale(0%);
}

/* How It Works */
.how-it-works {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-inline: auto;
}

.inline-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    text-align: left;
}

.inline-header h2 {
    margin-bottom: 0;
    white-space: nowrap;
}

.inline-header p {
    margin-bottom: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    position: relative;
    transition: all var(--transition-normal);
    overflow: hidden;
    grid-column: span 12;
}

@media (min-width: 768px) {
    .step-card {
        grid-column: span 6;
    }
}

@media (min-width: 1024px) {
    .step-card {
        grid-column: span 3;
    }
    .step-card:nth-child(4) {
        grid-column: 1 / span 3;
    }
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--bg-card-hover);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 1;
    transition: color var(--transition-normal);
}

.step-card:hover .step-number {
    color: rgba(0, 178, 212, 0.1);
}

.step-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(0, 178, 212, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.step-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
}

/* Signup Section */
.signup-section {
    padding: var(--spacing-xl) 0;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 4rem;
    align-items: center;
}

.benefit-list {
    margin-top: 2rem;
}

.benefit-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-list .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 178, 212, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-list h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.signup-form-container {
    padding: 2.5rem;
}

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

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 178, 212, 0.05);
}

.login-link {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.login-link a {
    color: var(--accent-primary);
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    background: rgba(0, 0, 0, 0.2);
}

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

.logo-img-small {
    height: 24px;
    width: auto;
}

.footer-logo p {
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.social-links a {
    color: var(--text-muted);
    font-size: 1.25rem;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .split-container {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto var(--spacing-md);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
        max-width: 600px;
        margin-inline: auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo p {
        margin-inline: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 80px;
    }
    
    .logo-img {
        height: 55px;
    }

    .nav-links, .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    h1 {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .badge {
        margin-bottom: 1rem;
        font-size: 0.65rem;
        white-space: normal;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .how-it-works, .signup-section, .clients {
        padding: 3rem 0;
    }
    
    .signup-form-container {
        padding: 1.5rem;
    }
    
    .client-logos {
        gap: 2rem;
    }
    
    .inline-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .inline-header h2 {
        white-space: normal;
    }
}
