/* Arkitech Font Faces */
@font-face {
    font-family: 'Arkitech';
    src: url('fonts/Arkitech Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arkitech';
    src: url('fonts/Arkitech Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --card-bg: #242424;
    --accent: #AF4CAB;
    --accent-hover: #9a3f96;
    --link-color: #0fb8d1;
    --link-hover: #12d0ed;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border: #333333;
    --shadow: rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.3;
    overflow-x: hidden;
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover);
}

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

/* Navigation */
.navbar {
    background-color: var(--darker-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Arkitech', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.nav-brand a {
    color: inherit;
    text-decoration: none;
}

.nav-brand a:hover,
.nav-brand a:visited,
.nav-brand a:active {
    color: inherit;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

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

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

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

.hero-cta {
    margin-bottom: 1rem;
}

.hero-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

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

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

.btn-download {
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* App Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 60px var(--shadow);
    border: 8px solid #2a2a2a;
}

.mockup-screen {
    background-color: var(--darker-bg);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px var(--shadow);
    border: 8px solid #2a2a2a;
}

.app-interface {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    aspect-ratio: 9/16;
}

.waveform-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.waveform {
    height: 60px;
    background: linear-gradient(90deg, var(--accent) 0%, #2ecc71 50%, var(--accent) 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.waveform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.3) 2px,
        rgba(0,0,0,0.3) 4px
    );
}

.waveform-b {
    opacity: 0.3;
}

.ab-toggle {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background-color: var(--card-bg);
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.spectrum-display {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 100px;
}

.spectrum-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent) 0%, #2ecc71 100%);
    border-radius: 2px;
    animation: spectrum-pulse 1.5s ease-in-out infinite;
}

.spectrum-bar:nth-child(1) { animation-delay: 0s; }
.spectrum-bar:nth-child(2) { animation-delay: 0.1s; }
.spectrum-bar:nth-child(3) { animation-delay: 0.2s; }
.spectrum-bar:nth-child(4) { animation-delay: 0.3s; }
.spectrum-bar:nth-child(5) { animation-delay: 0.4s; }
.spectrum-bar:nth-child(6) { animation-delay: 0.5s; }
.spectrum-bar:nth-child(7) { animation-delay: 0.6s; }
.spectrum-bar:nth-child(8) { animation-delay: 0.7s; }

@keyframes spectrum-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

/* Use Cases */
.use-cases {
    padding: 6rem 0;
    background-color: var(--darker-bg);
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
}

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

.use-case {
    text-align: center;
    padding: 2rem;
}

.use-case h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

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

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

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

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

.pricing-card {
    background-color: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Workflow Section */
.workflow {
    padding: 6rem 0;
    background-color: var(--darker-bg);
}

.workflow h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.workflow-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.workflow-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

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

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

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--text-primary);
}

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

/* Privacy and Support Pages */
.page-header {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

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

.page-content a {
    color: var(--link-color);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--link-hover);
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 500;
    margin: 3rem 0 1.5rem;
    color: var(--accent);
}

#quick-start {
    margin-bottom: 0.5rem;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.page-content ul, .page-content ol {
    margin-bottom: 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.page-content li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

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

#quick-start + p + .support-grid {
    grid-template-columns: 1fr;
}

.support-card {
    background-color: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.support-card p {
    margin: 0;
}

.support-card h3 {
    margin-top: 0;
}

.faq-item {
    background-color: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.faq-item h3 {
    margin-top: 0;
    color: var(--accent);
}

.faq-item p {
    margin: 0;
}

.faq-back-link {
    margin-top: 1.5rem;
    margin-bottom: 0;
    text-align: right;
}

.faq-back-link a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.faq-back-link a:hover {
    color: var(--link-hover);
}

/* Table of Contents */
.toc-section {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 3rem;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    column-gap: 2rem;
}

.toc-nav ul li {
    margin: 0;
}

.toc-nav ul li a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 0.1rem 0;
}

.toc-nav ul li a:hover {
    color: var(--link-hover);
}

/* FAQ TOC - smaller font and bullet points */
#faq + .toc-section .toc-nav ul {
    list-style: disc;
    padding-left: 1.5rem;
}

#faq + .toc-section .toc-nav ul li a {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .workflow-arrow {
        display: none;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-brand {
        font-size: 1.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--darker-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .features h2,
    .use-cases h2,
    .pricing h2,
    .workflow h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .page-header {
        padding: 1rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .page-content {
        font-size: 0.9rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }

    .page-content h3 {
        font-size: 1.2rem;
    }

    .support-card,
    .faq-item {
        font-size: 0.9rem;
    }
}

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

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* Arkitech Font Application - Logo Only */
.nav-brand,
.footer-brand h3 {
    font-family: 'Arkitech', sans-serif;
}

.logo-medium {
    font-weight: 500; /* Arkitech Medium */
}

.logo-light {
    font-weight: 300; /* Arkitech Light */
    opacity: 0.35;
}
