@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    /* Brand Colors */
    --pp-primary: #FF6B2C;
    --pp-primary-hover: #FF8F5E;
    --pp-gradient-primary: linear-gradient(135deg, #FF6B2C, #FF8F5E);
    --pp-gradient-text: linear-gradient(135deg, #FF6B2C, #FF8F5E);

    /* Light Mode Variables (Default overrides in dark mode) */
    --bg-color: #F8FAFC;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(15, 23, 42, 0.06);
    --glass-blur: blur(12px);
    --navbar-bg: rgba(255, 255, 255, 0.8);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(255, 107, 44, 0.2);

    /* Transitions */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-color: #0B0F14;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --navbar-bg: rgba(11, 15, 20, 0.8);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--pp-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    transition: all var(--transition-base);
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background: var(--pp-gradient-primary);
    color: white;
    box-shadow: 0 8px 16px rgba(255, 107, 44, 0.25);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 107, 44, 0.35);
}

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

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: var(--pp-primary);
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: var(--transition-base);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-primary);
}

.nav-logo img {
    height: 32px;
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--pp-primary);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.theme-toggle:hover {
    background: var(--card-border);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 107, 44, 0.08), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 107, 44, 0.1);
    border: 1px solid rgba(255, 107, 44, 0.2);
    border-radius: 50px;
    color: var(--pp-primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--pp-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

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

/* Login Box */
.login-box {
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pp-gradient-primary);
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

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

.input-field {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

[data-theme="light"] .input-field {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.input-field:focus {
    outline: none;
    border-color: var(--pp-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.1);
}

.login-actions {
    display: grid;
    gap: 16px;
}

/* Features */
.features {
    padding: 100px 0;
}

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

.feature-card {
    padding: 32px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--pp-primary);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Timeline */
.how-it-works {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 107, 44, 0.3) 0%, rgba(255, 107, 44, 0) 100%);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    padding-top: 64px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    background: var(--bg-color);
    border: 2px solid var(--pp-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--pp-primary);
    font-size: 18px;
}

.step-icon {
    background: var(--card-bg);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: 1px solid var(--card-border);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

/* Mockup Sections */
.product-showcase {
    padding: 120px 0;
    overflow: hidden;
}

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

.showcase-grid.reverse .showcase-text {
    order: 2;
}

.showcase-mockup {
    position: relative;
}

.showcase-mockup img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    transition: transform 0.5s ease;
}

.showcase-mockup:hover img {
    transform: scale(1.02);
}

.feature-list-check {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-list-item svg {
    color: var(--pp-primary);
}

/* FAQ */
.faq {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
}

.accordion-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--pp-primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.accordion-content p {
    padding-bottom: 24px;
    color: var(--text-secondary);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-item.active .icon-chevron {
    transform: rotate(180deg);
}

.icon-chevron {
    transition: transform 0.3s;
}

/* CTA */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 44, 0.1), transparent 70%);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 60px;
}

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

.footer-copy {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 44, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 44, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

    .hero-list {
        align-items: center;
    }

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

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

    .timeline::before {
        display: none;
        /* Hide horizontal line on mobile */
    }

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

    .showcase-grid.reverse .showcase-text {
        order: 0;
    }

    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple mobile hide for now */
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 36px;
    }

    .login-box {
        padding: 32px;
    }

    .cta-title {
        font-size: 32px;
    }
}