/* ===== HRKunda - Minimal & Clean Design ===== */

:root {
    /* Colors - Refined purple palette */
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --primary-subtle: #EDE9FE;
    --accent: #10B981;
    --accent-dark: #059669;

    /* Minimal light palette */
    --bg-light: #FFFFFF;
    --bg-subtle: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-dark-section: #18181B;

    /* Text - Refined hierarchy */
    --text-primary: #18181B;
    --text-secondary: #52525B;
    --text-muted: #A1A1AA;
    --text-on-dark: #FAFAFA;

    /* Borders - Subtle and clean */
    --border: #F4F4F5;
    --border-hover: #E4E4E7;

    /* Shadows - Minimal and elegant */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-primary: 0 4px 24px rgba(124, 58, 237, 0.2);

    /* Spacing */
    --nav-height: 64px;
    --section-padding: 140px;
    --container-max: 1120px;

    /* Typography - Clean and minimal */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions - Smooth and subtle */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border radius - Consistent and clean */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

body {
    font-family: var(--font-main);
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 16px;
    letter-spacing: -0.01em;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Navigation - Clean & Minimal ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-logo svg,
.nav-logo img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
}

.nav-logo span {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

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

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

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

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

.nav-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===== Buttons - Minimal & Clean ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-family: inherit;
    letter-spacing: -0.01em;
}

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

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

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

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--text-muted);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 16px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-subtle);
}

.btn-large {
    padding: 14px 28px;
    font-size: 0.9375rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ===== Hero Section - Spacious & Clean ===== */
.hero {
    padding: calc(var(--nav-height) + 100px) 0 120px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--primary-subtle) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-subtle);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--primary);
    margin-bottom: 28px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.hero h1 {
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 100px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Minimal - New Design */
.hero-minimal {
    padding: calc(var(--nav-height) + 80px) 0 60px;
}

.hero-minimal::before {
    display: none;
}

.hero-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.hero-line-1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero-line-2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-bracket {
    color: var(--primary);
    position: relative;
    padding: 4px 20px;
}

.hero-bracket::before,
.hero-bracket::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12px;
    border: 2px solid var(--primary);
    border-radius: 4px;
}

.hero-bracket::before {
    left: 0;
    border-right: none;
}

.hero-bracket::after {
    right: 0;
    border-left: none;
}

.hero-gray {
    color: #9ca3af;
}

.hero-subtitle-new {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-align: center;
}

.hero-highlight {
    background: linear-gradient(to bottom, transparent 50%, rgba(107, 63, 160, 0.15) 50%);
    padding: 0 2px;
}

@media (max-width: 768px) {
    .hero-minimal {
        padding: calc(var(--nav-height) + 48px) 0 40px;
    }

    .hero-line-2 {
        gap: 8px;
    }

    .hero-bracket {
        padding: 2px 12px;
    }

    .hero-bracket::before,
    .hero-bracket::after {
        width: 8px;
    }
}

/* ===== Product Screenshot Section ===== */
.screenshot-section {
    padding: 0 0 100px;
}

.screenshot-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.screenshot-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: transparent;
    box-shadow: var(--shadow-lg);
    border: 1px solid transparent;
}

.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 80vh;
}

/* Mobile video styles */
@media (max-width: 768px) {
    .screenshot-wrapper {
        max-width: 100%;
        padding: 0 10px;
    }

    .screenshot-container video {
        max-height: none;
        border-radius: var(--radius-lg);
    }

    .screenshot-container {
        border-radius: var(--radius-lg);
    }
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0 80px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-section {
        padding: 40px 0 60px;
    }

    .stats-grid {
        gap: 40px 60px;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* ===== Sections - Generous Spacing ===== */
.section {
    padding: var(--section-padding) 0;
}

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

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

.section-badge {
    display: inline-flex;
    padding: 6px 12px;
    background: var(--primary-subtle);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

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

/* ===== How It Works - Clean Cards ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    position: relative;
    padding: 36px 32px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.step-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

/* ===== Feature Cards - Minimal ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 28px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

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

/* ===== Who It's For - Clean Layout ===== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.audience-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.audience-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.audience-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
}

.audience-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.audience-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

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

/* ===== Comparison Section - Clean Table ===== */
.comparison-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
    padding: 20px 28px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-subtle);
}

.comparison-table th:first-child {
    width: 40%;
}

.comparison-table td {
    font-size: 0.9375rem;
}

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

.comparison-table .feature-name {
    color: var(--text-primary);
    font-weight: 500;
}

.check-icon {
    color: var(--accent);
}

.cross-icon {
    color: var(--text-muted);
}

/* ===== Social Proof - Subtle ===== */
.logos-section {
    padding: 72px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-label {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 500;
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
    flex-wrap: wrap;
}

.logo-item {
    opacity: 0.35;
    transition: var(--transition-base);
}

.logo-item:hover {
    opacity: 0.6;
}

/* ===== Testimonial - Elegant ===== */
.testimonial-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.testimonial-quote {
    font-size: 1.375rem;
    line-height: 1.65;
    margin-bottom: 36px;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.testimonial-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.testimonial-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ===== CTA Section - Clean & Prominent ===== */
.cta-section {
    padding: var(--section-padding) 0;
}

.cta-card {
    position: relative;
    padding: 80px 48px;
    background: var(--primary);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
}

.cta-card h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    letter-spacing: -0.025em;
}

.cta-card p {
    font-size: 1.0625rem;
    opacity: 0.9;
    max-width: 440px;
    margin: 0 auto 32px;
    color: white;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

.cta-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.cta-actions .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ===== Footer - Clean & Organized ===== */
.footer {
    background: var(--bg-dark-section);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 56px;
    margin-bottom: 64px;
}

.footer .nav-logo span {
    color: var(--text-on-dark);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    margin-top: 16px;
    max-width: 260px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 0;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

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

/* ===== Page Header ===== */
.page-header {
    padding: calc(var(--nav-height) + 80px) 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--primary-subtle) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.page-header h1 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.page-header p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

/* ===== Pricing Cards - Clean ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    padding: 32px 28px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    position: relative;
    box-shadow: var(--shadow-primary);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: var(--primary);
    border-radius: 100px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.pricing-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.pricing-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-currency {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-amount {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 24px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-features li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent);
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* ===== Use Case Cards ===== */
.usecase-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.usecase-section:last-of-type {
    border-bottom: none;
}

.usecase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.usecase-grid.reverse {
    direction: rtl;
}

.usecase-grid.reverse > * {
    direction: ltr;
}

.usecase-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.usecase-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.usecase-benefits {
    margin-bottom: 32px;
}

.usecase-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.usecase-benefits li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent);
    margin-top: 3px;
}

.usecase-visual {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.usecase-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ===== API Page ===== */
.code-block {
    background: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #161618;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.code-lang {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.code-content {
    padding: 20px;
    overflow-x: auto;
}

.code-content pre {
    font-family: 'SF Mono', 'Fira Code', 'Menlo', monospace;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

.code-content .keyword {
    color: #C792EA;
}

.code-content .string {
    color: #A5D6A7;
}

.code-content .comment {
    color: rgba(255, 255, 255, 0.35);
}

.code-content .property {
    color: #82B1FF;
}

.code-content .number {
    color: #F78C6C;
}

/* ===== API Features ===== */
.api-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.api-card {
    padding: 28px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.api-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.api-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ===== Contact Form ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-form {
    padding: 40px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-light);
}

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

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.contact-method {
    display: flex;
    gap: 16px;
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.contact-method h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-method p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== About Page ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    padding: 32px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ===== Mobile App Section ===== */
.mobile-app-section {
    background: var(--bg-subtle);
    overflow: hidden;
}

.mobile-app-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.mobile-app-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mobile-app-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mobile-app-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
}

.mobile-app-feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.mobile-app-feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.mobile-app-feature-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* iPhone 14 Pro Showcase */
.mobile-app-phones {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
    padding: 20px 0;
}

.mobile-app-phones .device-iphone-14-pro {
    position: absolute;
    transform-origin: center center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-app-phones .mobile-phone-back {
    transform: translateX(-180px) scale(0.55);
    z-index: 1;
    opacity: 0.6;
    filter: brightness(0.9);
}

.mobile-app-phones .mobile-phone-middle {
    transform: translateX(180px) scale(0.55);
    z-index: 1;
    opacity: 0.6;
    filter: brightness(0.9);
}

.mobile-app-phones .mobile-phone-front {
    transform: scale(0.6);
    z-index: 2;
}

.mobile-app-phones:hover .mobile-phone-back {
    transform: translateX(-200px) scale(0.58);
    opacity: 0.75;
}

.mobile-app-phones:hover .mobile-phone-middle {
    transform: translateX(200px) scale(0.58);
    opacity: 0.75;
}

.mobile-app-phones:hover .mobile-phone-front {
    transform: scale(0.62);
}

@media (max-width: 1024px) {
    .mobile-app-showcase {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mobile-app-phones {
        order: -1;
        min-height: 480px;
    }

    .mobile-app-phones .mobile-phone-back {
        transform: translateX(-150px) scale(0.5);
    }

    .mobile-app-phones .mobile-phone-middle {
        transform: translateX(150px) scale(0.5);
    }

    .mobile-app-phones .mobile-phone-front {
        transform: scale(0.55);
    }
}

@media (max-width: 768px) {
    .mobile-app-phones {
        min-height: 400px;
    }

    .mobile-app-phones .mobile-phone-back {
        transform: translateX(-110px) scale(0.42);
    }

    .mobile-app-phones .mobile-phone-middle {
        transform: translateX(110px) scale(0.42);
    }

    .mobile-app-phones .mobile-phone-front {
        transform: scale(0.48);
    }

}

/* ===== Animations - Subtle ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(16px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-brand {
        grid-column: span 3;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 100px;
    }

    .container {
        padding: 0 24px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    .hero-stat {
        flex: 1 1 40%;
    }

    .steps-grid,
    .features-grid,
    .audience-grid,
    .pricing-grid,
    .api-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .usecase-grid.reverse {
        direction: ltr;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-card {
        padding: 56px 28px;
    }

    .comparison-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -24px;
        padding: 0 24px;
    }

    .comparison-table {
        min-width: 560px;
    }
}

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

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

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

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

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

    .footer-brand {
        grid-column: span 1;
    }
}

/* ===== Mobile Navigation Menu ===== */
.nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.nav.menu-open .nav-links a {
    padding: 16px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
}

.nav.menu-open .nav-links a:last-child {
    border-bottom: none;
}

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

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

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

/* Touch-friendly buttons */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }

    .btn-large {
        min-height: 52px;
        padding: 16px 28px;
    }

    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .usecase-visual {
        min-height: 260px;
        padding: 24px;
    }
}

/* Fix horizontal scroll */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
}

/* ===== Blog Styles ===== */

.blog-featured {
    margin-bottom: 72px;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.blog-featured-card:hover {
    box-shadow: var(--shadow-md);
}

.blog-featured-image {
    min-height: 400px;
}

.blog-placeholder-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-featured-content {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-content h2 {
    font-size: 1.625rem;
    font-weight: 600;
    margin: 16px 0;
    line-height: 1.35;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.blog-featured-content p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}

.blog-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 5px 10px;
    border-radius: 4px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    height: 180px;
    overflow: hidden;
}

.blog-card-image .blog-placeholder-image {
    min-height: 180px;
}

.blog-card-content {
    padding: 28px;
}

.blog-card-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 12px 0;
    line-height: 1.4;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.blog-card-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Post Page Styles */
.blog-post-header {
    padding: calc(var(--nav-height) + 72px) 0 48px;
    text-align: center;
}

.blog-post-header .blog-category {
    margin-bottom: 16px;
}

.blog-post-header h1 {
    font-size: 2.25rem;
    font-weight: 600;
    max-width: 720px;
    margin: 0 auto 24px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.blog-post-header .blog-meta {
    justify-content: center;
}

.blog-post-hero {
    max-width: 840px;
    margin: 0 auto 72px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-post-hero .blog-placeholder-image {
    min-height: 400px;
}

.blog-post-content {
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.blog-post-content h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 48px 0 20px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.blog-post-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 36px 0 16px;
    color: var(--text-primary);
}

.blog-post-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.blog-post-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.blog-post-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 24px;
    margin: 32px 0;
    font-style: normal;
    color: var(--text-secondary);
}

.blog-post-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    margin-top: 72px;
}

.blog-post-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.blog-post-author-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.blog-post-author-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.blog-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.blog-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-image {
        min-height: 220px;
    }

    .blog-featured-content {
        padding: 32px;
    }

    .blog-featured-content h2 {
        font-size: 1.375rem;
    }

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

    .blog-post-header h1 {
        font-size: 1.625rem;
    }

    .blog-post-hero .blog-placeholder-image {
        min-height: 220px;
    }

    .blog-post-content {
        padding: 0 24px 72px;
    }
}

/* ===== Legal Pages ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

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

.legal-content h2:first-child {
    margin-top: 0;
}

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

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

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

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

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .legal-content {
        padding-bottom: 48px;
    }

    .legal-content h2 {
        font-size: 1.25rem;
        margin-top: 32px;
    }
}

/* ===== Careers Page ===== */
.careers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.career-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: border-color 0.2s ease;
}

.career-card:hover {
    border-color: var(--primary);
}

.career-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.career-details {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.career-location,
.career-type {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.career-info p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .career-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
    }

    .career-card .btn {
        width: 100%;
        text-align: center;
    }
}
