/* ===================================
   Merlin - Professional Coming Soon Site
   Color Palette:
   - Primary Background: #0d1117 (dark navy)
   - Primary Accent: #4DD0E1 (cyan/turquoise)
   - Secondary Accent: #f4e5c2 (warm gold)
   - Text: #ffffff, rgba(255,255,255,0.7)
   =================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg-primary: #0d1117;
    --color-bg-secondary: #161b22;
    --color-bg-tertiary: #1c2128;
    --color-accent-primary: #4DD0E1;
    --color-accent-secondary: #f4e5c2;
    --color-accent-glow: rgba(77, 208, 225, 0.3);
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-tertiary: rgba(255, 255, 255, 0.5);
    --color-border: rgba(77, 208, 225, 0.2);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-glow: 0 0 40px rgba(77, 208, 225, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

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

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    z-index: 99;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--color-accent-primary);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #5de0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(77, 208, 225, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(77, 208, 225, 0.15), transparent);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(77, 208, 225, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 208, 225, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0;
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Hero container for flexbox layout */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent-primary);
    background: rgba(77, 208, 225, 0.1);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}

.hero-title-accent {
    color: var(--color-accent-primary);
}

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

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    flex-shrink: 0;
    animation: fadeInRight 1s ease-out 0.3s both;
}

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

.hero-logo-container {
    position: relative;
}

.hero-logo {
    width: 300px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.hero-logo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(77, 208, 225, 0.2), transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: 100px 24px;
    position: relative;
}

.section-dark {
    background: var(--color-bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   Problem Section
   =================================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-medium);
}

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

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 208, 225, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-accent-primary);
    margin-bottom: 20px;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.problem-text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   Solution Section
   =================================== */
.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 720px;
    margin: 0 auto;
}

.solution-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.solution-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-primary);
    opacity: 0.3;
    line-height: 1;
    min-width: 80px;
}

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

.solution-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   Features Section
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-medium);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 208, 225, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-accent-primary);
    margin-bottom: 20px;
}

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

.feature-text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */
.section-cta {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ===================================
   Contact Page
   =================================== */
.contact-hero {
    position: relative;
    padding: 160px 24px 80px;
    overflow: hidden;
}

.contact-hero-content {
    max-width: 720px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.contact-section {
    padding-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--color-text-primary);
}

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

.contact-reason-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 208, 225, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-accent-primary);
    flex-shrink: 0;
}

.contact-reason-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.contact-reason-content p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.contact-email {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.contact-email p {
    font-size: 0.9375rem;
    color: var(--color-text-tertiary);
    margin-bottom: 8px;
}

.email-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-accent-primary);
    transition: opacity var(--transition-fast);
}

.email-link:hover {
    opacity: 0.8;
}

/* Contact Form */
.contact-form-container {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

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

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

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-input,
.form-select,
.form-textarea {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    transition: all var(--transition-fast);
    width: 100%;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(77, 208, 225, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%234DD0E1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-select option {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    text-align: center;
    margin-top: 8px;
}

/* Checkbox Consent */
.form-checkbox-group {
    margin: 16px 0;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.form-checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-accent-primary);
    cursor: pointer;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--color-accent-primary);
    text-decoration: underline;
}

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

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.success-icon {
    color: var(--color-accent-primary);
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.form-success p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 60px 24px 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    max-width: 240px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
}

/* ===================================
   Careers Page
   =================================== */
.careers-hero {
    position: relative;
    padding: 160px 24px 80px;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.careers-hero-content {
    max-width: 720px;
    animation: fadeInUp 0.8s ease-out;
}

.careers-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 16px 0 20px;
    color: var(--color-text-primary);
}

.careers-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.careers-content {
    max-width: 720px;
    margin: 0 auto;
}

.careers-section {
    margin-bottom: 48px;
}

.careers-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.careers-section p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.careers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.careers-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.careers-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: 50%;
}

.careers-cta {
    text-align: center;
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
    margin-top: 48px;
}

.careers-cta p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-logo {
        width: 260px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

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

    .hero-logo {
        width: 200px;
    }

    .section {
        padding: 60px 16px;
    }

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

    .solution-item {
        flex-direction: column;
        gap: 16px;
    }

    .solution-number {
        font-size: 2rem;
        min-width: auto;
    }

    .contact-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

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

    .contact-form-container {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 24px;
    }

    .careers-hero {
        padding-top: 120px;
        min-height: auto;
    }

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

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .btn-large {
        padding: 14px 24px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .problem-card,
    .feature-card {
        padding: 24px;
    }
}

/* ===================================
   Footer Contact Section
   =================================== */
.footer-contact {
    min-width: 200px;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--color-text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-contact address {
    font-style: normal;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-company {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    margin-top: 8px;
}

/* ===================================
   Legal Pages (Privacy Policy, Terms)
   =================================== */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

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

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.legal-effective {
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

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

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

.legal-content ul {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--color-accent-primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

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

/* Contact Details on Contact Page */
.contact-details {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.contact-details h3 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.contact-detail-item {
    margin-bottom: 16px;
}

.contact-detail-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-tertiary);
    margin-bottom: 4px;
}

.contact-detail-item a,
.contact-detail-item address {
    color: var(--color-text-secondary);
    font-style: normal;
    line-height: 1.6;
}

.contact-detail-item a:hover {
    color: var(--color-accent-primary);
}

.phone-link {
    display: inline-block;
}

@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 1.75rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: left;
    }

    .footer-contact,
    .footer-links {
        width: 100%;
    }
}

/* ===================================
   Product/Demo Pages
   =================================== */
.product-hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.product-hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.product-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Schedule Demo Page */
.demo-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.demo-hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.demo-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}

.demo-hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* SMS Demo Box */
.sms-demo-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.sms-demo-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.sms-demo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(77, 208, 225, 0.1);
    border-radius: 12px;
    color: var(--color-accent-primary);
}

.sms-demo-header h2 {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin: 0;
}

.sms-demo-content {
    padding: 32px;
}

.sms-demo-instruction {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.sms-demo-number {
    background: var(--color-bg-primary);
    border: 2px solid var(--color-accent-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin-bottom: 32px;
}

.number-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    margin-bottom: 8px;
}

.number-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent-primary);
    text-decoration: none;
}

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

.number-note {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    margin-top: 12px;
    line-height: 1.5;
}

.sms-demo-tips {
    background: rgba(77, 208, 225, 0.05);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.sms-demo-tips h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent-primary);
    margin-bottom: 12px;
}

.sms-demo-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sms-demo-tips li {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.sms-demo-tips li::before {
    content: '"';
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-size: 1.25rem;
}

/* SMS Disclosure */
.sms-demo-disclosure {
    padding: 24px 32px;
    background: var(--color-bg-tertiary);
    border-top: 1px solid var(--color-border);
}

.sms-demo-disclosure h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.sms-demo-disclosure ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.sms-demo-disclosure li {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.sms-demo-disclosure li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
}

.sms-demo-disclosure strong {
    color: var(--color-text-primary);
}

.sms-demo-privacy {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.sms-demo-privacy a {
    color: var(--color-accent-primary);
}

.sms-demo-privacy a:hover {
    text-decoration: underline;
}

/* Demo Page Grid Layout */
.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.demo-info h2 {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: 32px;
}

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

.demo-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(77, 208, 225, 0.1);
    border-radius: 12px;
    color: var(--color-accent-primary);
    flex-shrink: 0;
}

.demo-info-content h3 {
    font-size: 1rem;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.demo-info-content p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.demo-form-container {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 32px;
}

.form-title {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

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

    .demo-hero-title {
        font-size: 2rem;
    }

    .sms-demo-header,
    .sms-demo-content,
    .sms-demo-disclosure {
        padding: 20px 24px;
    }

    .number-value {
        font-size: 1.5rem;
    }

    .demo-form-container {
        padding: 24px;
    }
}

/* Demo Side-by-Side Layout */
.demo-side-by-side {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    margin-top: 60px;
}

.demo-phone-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
}

.demo-phone-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: 24px;
    margin-bottom: 8px;
}

.demo-phone-description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

/* Demo Highlights */
.demo-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.demo-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.demo-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(77, 208, 225, 0.1);
    border-radius: 10px;
    color: var(--color-accent-primary);
}

/* Phone Mockup */
.demo-phone {
    position: relative;
    background: #1c1c1e;
    border-radius: 32px;
    padding: 10px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 12px 24px -8px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 280px;
    margin: 0 auto;
}

.demo-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #0d1117;
    border-radius: 12px;
    z-index: 10;
}

.demo-screenshot {
    width: 100%;
    height: auto;
    border-radius: 22px;
    display: block;
    max-height: 500px;
    object-fit: contain;
}

/* Demo Description */
.demo-description {
    padding: 20px 0;
}

.demo-description h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

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

.demo-features {
    list-style: none;
    padding: 0;
}

.demo-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--color-text-secondary);
}

.demo-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    opacity: 0.3;
}

.demo-features li::after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: 0;
    color: var(--color-accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .demo-side-by-side {
        gap: 40px;
    }

    .demo-phone {
        max-width: 240px;
    }

    .demo-screenshot {
        max-height: 420px;
    }

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

    .product-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .demo-highlights {
        gap: 24px;
    }

    .demo-phone-label {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .demo-side-by-side {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .demo-highlights {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .demo-phone {
        max-width: 220px;
        border-radius: 24px;
        padding: 8px;
    }

    .demo-phone-notch {
        width: 60px;
        height: 16px;
        top: 8px;
    }

    .demo-screenshot {
        border-radius: 18px;
        max-height: 380px;
    }

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

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

    .demo-side-by-side {
        margin-top: 40px;
    }

    .demo-phone-label {
        font-size: 1rem;
        margin-top: 16px;
    }

    .demo-phone-description {
        font-size: 0.875rem;
    }

    .demo-highlight {
        font-size: 0.875rem;
    }

    .demo-highlight-icon {
        width: 36px;
        height: 36px;
    }
}
