/* SwiftMind Website — Apple-inspired dark design with Swift orange */

:root {
    --brand: #F05138;
    --brand-dark: #C93E25;
    --brand-light: rgba(240, 81, 56, 0.12);
    --brand-glow: rgba(240, 81, 56, 0.25);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #86868b;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-surface: #111111;
    --border-color: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 8px 32px rgba(240, 81, 56, 0.15);
    --radius: 20px;
    --radius-sm: 12px;
    --max-width: 1080px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.5;
}

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

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-brand span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    padding: 160px 24px 100px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(240, 81, 56, 0.08) 0%, transparent 60%);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.app-icon-container {
    margin-bottom: 32px;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    box-shadow: 0 8px 40px rgba(240, 81, 56, 0.3);
    object-fit: cover;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-light);
    color: var(--brand);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(240, 81, 56, 0.2);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.06;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--brand) 0%, #ff9f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.4;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: white;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: default;
    opacity: 0.9;
}

.platform-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.platform-tag {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

/* Features */
.features {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.features-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 56px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
}

.feature-card {
    background: var(--bg-surface);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 81, 56, 0.3);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

/* How It Works */
.how-it-works {
    padding: 100px 24px;
    background: var(--bg-primary);
}

.how-it-works-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.how-it-works h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
    margin-top: 56px;
}

.step {
    padding: 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

/* Comparison Table */
.comparison {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.comparison-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.comparison h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
    text-align: left;
}

.comparison-table th {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th.col-swiftmind {
    color: var(--brand);
}

.comparison-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.comparison-table td.col-label {
    color: var(--text-primary);
    font-weight: 500;
}

.comparison-table td.col-swiftmind {
    color: var(--text-primary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check-yes { color: #30d158; }
.check-no { color: var(--text-tertiary); }

/* Privacy Section */
.privacy-section {
    padding: 80px 24px;
    background: var(--bg-primary);
}

.privacy-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.privacy-inner h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.privacy-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.privacy-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.privacy-badge .check {
    color: #30d158;
    font-weight: 700;
}

/* Tech Stack */
.tech-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.tech-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.tech-inner h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(240, 81, 56, 0.25);
    color: var(--brand);
    background: var(--brand-light);
}

/* Footer */
.footer {
    padding: 48px 24px 24px;
    background: var(--bg-primary);
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.footer-brand span {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    max-width: 360px;
}

.footer h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* Legal Pages */
.legal-page {
    padding: 120px 24px 80px;
    max-width: 760px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-page .last-updated {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.legal-page h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-page p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-page ul, .legal-page ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-page li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 4px;
}

.legal-page strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-page a {
    color: var(--brand);
    text-decoration: none;
}

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

.highlight-box {
    background: var(--brand-light);
    border-left: 3px solid var(--brand);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 20px 0;
}

.highlight-box p {
    color: var(--text-primary);
    margin: 0;
}

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

    .hero {
        padding: 120px 20px 80px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .comparison-table {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .features,
    .how-it-works,
    .privacy-section,
    .tech-section,
    .comparison {
        padding: 60px 16px;
    }

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

    .privacy-badges {
        flex-direction: column;
        align-items: center;
    }

    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2) {
        display: none;
    }
}
