@import url('https://api.fontshare.com/v2/css?f[]=clash-display&display=swap');

:root {
    --bg: #FAFAFA;
    --bg-warm: #F5F3FF;
    --text: #0F0F0F;
    --font-display: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --text-secondary: #6B6B6B;
    --primary: #4F46E5;
    --primary-text: #ffffff;
    --primary-light: #EEF2FF;
    --accent: #8B5CF6;
    --card-bg: #FFFFFF;
    --border: #E5E5E5;
    --surface-muted: #F3F4F6;
    --surface-strong: #F8FAFC;
    --text-on-accent: #FFFFFF;
    --star: #F59E0B;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --radius: 24px;
    --radius-sm: 16px;
}

body.dark-mode {
    --bg: #060816;
    --bg-warm: #0f172a;
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #818cf8;
    --primary-text: #000;
    --primary-light: #1e293b;
    --accent: #a78bfa;
    --card-bg: #0f172a;
    --border: #1e293b;
    --surface-muted: #1f2937;
    --surface-strong: #111827;
    --text-on-accent: #000000;
    --star: #fbbf24;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    color-scheme: light;
}

body.dark-mode {
    color-scheme: dark;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.dark-mode nav {
    background: rgba(6, 8, 22, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    font-weight: 900;
}

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

.nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 72px;
    right: 24px;
    left: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
}

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

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

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

.nav-links a:last-child {
    color: var(--text-on-accent);

}

.nav-links a:last-child:hover {
    color: var(--primary-light);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-on-accent);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
    color: var(--primary);
}

.theme-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.theme-icon svg {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.moon-icon {
    opacity: 1;
    transform: scale(1);
    color: inherit;
}

.sun-icon {
    opacity: 0;
    transform: scale(0.8);
    color: #FFFFFF;
}

body.dark-mode .moon-icon {
    opacity: 0;
    transform: scale(0.8);
}

body.dark-mode .sun-icon {
    opacity: 1;
    transform: scale(1);
}

.theme-toggle svg,
.menu-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}

.menu-toggle {
    border: 1px solid var(--border);
    background: var(--card-bg);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.menu-toggle:hover {
    background: var(--surface-muted);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 140px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badges a img {
    height: 48px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.store-badges a img:hover {
    transform: scale(1.04);
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.stat span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--surface-strong);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: var(--text);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-content {
    padding: 40px 16px 16px;
    height: 100%;
    overflow-y: auto;
}

.phone-content .resume-preview {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    font-size: 0.55rem;
    line-height: 1.4;
}

.phone-content .resume-preview .r-header {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.phone-content .resume-preview .r-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    flex-shrink: 0;
}

.phone-content .resume-preview .r-name {
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--text);
}

.phone-content .resume-preview .r-title {
    color: var(--text-secondary);
    font-size: 0.5rem;
}

.phone-content .resume-preview .r-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.phone-content .resume-preview .r-section-title {
    font-weight: 700;
    font-size: 0.6rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.phone-content .resume-preview .r-line {
    height: 4px;
    background: var(--surface-muted);
    border-radius: 2px;
    margin-bottom: 3px;
}

.phone-content .resume-preview .r-line.short {
    width: 60%;
}

.phone-content .resume-preview .r-line.shorter {
    width: 40%;
}

.floating-avatar {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-avatar.a1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-avatar.a2 {
    top: 25%;
    right: 5%;
    animation-delay: 1s;
}

.floating-avatar.a3 {
    bottom: 20%;
    left: 0%;
    animation-delay: 2s;
}

.floating-avatar.a4 {
    bottom: 35%;
    right: 0%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.gradient-orb.o1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #C4B5FD, #A78BFA);
    top: -50px;
    right: -50px;
}

.gradient-orb.o2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #BFDBFE, #93C5FD);
    bottom: -30px;
    left: -30px;
}

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

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

.section-header h2 {
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.feature-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.floating-avatar svg {
    width: 24px;
    height: 24px;
    color: inherit;
}

.feature-card:nth-child(1) .icon-wrap {
    background: #EDE9FE;
}

.feature-card:nth-child(2) .icon-wrap {
    background: #DBEAFE;
}

.feature-card:nth-child(3) .icon-wrap {
    background: #D1FAE5;
}

.feature-card h3 {
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* Steps */
.steps {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.step-item:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-item:nth-child(2) .step-num {
    background: #F3E8FF;
    color: var(--accent);
}

.step-item:nth-child(3) .step-num {
    background: #D1FAE5;
    color: #059669;
}

.step-item:nth-child(4) .step-num {
    background: #FEF3C7;
    color: #D97706;
}

.step-item:nth-child(5) .step-num {
    background: #FEE2E2;
    color: #DC2626;
}

.step-content h4 {
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

.steps-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.steps-visual img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

/* Testimonials */
.testimonials {
    padding: 100px 24px;
    background: var(--bg);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.stars span {
    color: var(--star);
    font-size: 1.1rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author .name {
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author .role {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* CTA */
.cta {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-box {
    background: linear-gradient(135deg, #0F0F0F 0%, #1a1a2e 100%);
    border-radius: var(--radius);
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: -100px;
    right: -100px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 400px;
}

.cta-content .store-badges a img {
    height: 48px;
    border-radius: 8px;
}

.cta-visual {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
}


.cta-visual img {
    border-radius: 32px;

}

/* Footer */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 60px 24px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.6;
}

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

.footer-links h4 {
    font-family: 'Clash Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.socials a svg {
    width: 16px;
    height: 16px;
}

.socials a:hover {
    background: var(--primary);
    color: var(--text-on-accent);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: var(--card-bg);
    border: 1px solid var(--border);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    place-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.menu-toggle.active {
    border-color: var(--primary);
    color: var(--primary);
}

.template-card {
    background: var(--surface-muted);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 700;
}

.template-card:nth-child(2n) {
    background: var(--surface-strong);
}

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

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        margin: 0 auto 32px;
    }

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

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

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

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

    .cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 30px;
    }

    .cta-content p {
        margin: 0 auto 32px;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .menu-toggle {
        display: grid;
    }

    .store-badges {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .phone-frame {
        width: 240px !important;
        height: 480px !important;
    }

    .store-badges {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
