:root {
    --bg-dark: #1a1a2c;
    --bg-darker: #12121f;
    --bg-card: #232338;
    --bg-card-hover: #2a2a42;
    --text-white: #ffffff;
    --text-muted: #a0a0b8;
    --text-dim: #6b6b82;
    --accent-start: #ff6b35;
    --accent-end: #f7931e;
    --gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.p-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
.p-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 26, 44, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.p-brand img {
    height: 36px;
    width: auto;
}

.p-nav-links {
    display: flex;
    gap: 32px;
}

.p-nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

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

.p-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    transition: all 0.2s;
}

.p-link:hover {
    color: var(--text-white);
    border-color: rgba(255,255,255,0.3);
}

.p-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--gradient);
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.p-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.p-btn-xl {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 12px;
}

.p-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.p-btn-outline:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}

.p-btn-outline.p-btn-xl {
    padding: 14px 30px;
    font-size: 1rem;
    border-radius: 12px;
}

.p-btn-white {
    background: var(--text-white);
    color: var(--bg-dark);
}

.p-btn-white:hover {
    box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

.p-btn-text-light {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.p-btn-text-light:hover {
    color: var(--text-white);
}

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

.p-hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.p-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.p-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-start);
    top: 10%;
    left: -100px;
    animation: float1 12s ease-in-out infinite;
}

.p-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-end);
    bottom: 20%;
    right: -50px;
    animation: float2 10s ease-in-out infinite;
}

.p-shape-3 {
    width: 200px;
    height: 200px;
    background: #8b5cf6;
    top: 50%;
    left: 40%;
    animation: float3 14s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -40px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.p-hero-content {
    position: relative;
    z-index: 2;
}

.p-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-start);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.p-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.p-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 36px;
}

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

.p-hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.p-card-stack {
    position: relative;
    width: 320px;
    height: 320px;
}

.p-card-layer {
    position: absolute;
    inset: 0;
    background: var(--gradient);
    border-radius: 32px;
    transform: rotate(-6deg) scale(0.95);
    opacity: 0.3;
}

.p-card-main {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.p-card-main img {
    width: 60%;
}

/* Marquee */
.p-marquee {
    background: var(--bg-darker);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.p-marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.p-marquee-track span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-dim);
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Styles */
.p-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-start);
    margin-bottom: 12px;
}

.p-section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.p-section-intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

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

.p-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.p-feature {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.p-feature:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.1);
}

.p-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.p-feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.p-feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.p-feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How Section */
.p-how {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.p-how-text h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.p-how-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.p-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s;
}

.p-step:hover {
    border-color: var(--accent-start);
}

.p-step-marker {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 48px;
}

.p-step-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* Benefits */
.p-benefits {
    padding: 100px 0;
}

.p-benefits-header {
    text-align: center;
    margin-bottom: 60px;
}

.p-benefits-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

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

.p-benefit-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.p-benefit-card:hover {
    transform: translateY(-4px);
}

.p-benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.p-benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.p-benefit-lg {
    grid-column: span 2;
}

.p-benefit-lg h3 {
    font-size: 1.5rem;
}

.p-benefit-lg p {
    font-size: 1rem;
    max-width: 500px;
}

.p-benefit-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

/* CTA */
.p-cta {
    padding: 80px 0;
}

.p-cta-box {
    background: var(--gradient);
    border-radius: 32px;
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.p-cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.p-cta-content p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.p-cta-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Footer */
.p-footer {
    background: var(--bg-darker);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.p-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.p-footer-logo {
    height: 32px;
    margin-bottom: 16px;
}

.p-footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 280px;
}

.p-footer-links h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.p-footer-links a,
.p-footer-links p {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.p-footer-links a:hover {
    color: var(--text-white);
}

.p-footer-bar {
    padding: 24px 0;
    text-align: center;
}

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

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

    .p-hero-content {
        order: 2;
    }

    .p-lead {
        margin: 0 auto 36px;
    }

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

    .p-hero-visual {
        order: 1;
    }

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

    .p-how-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .p-benefits-grid {
        grid-template-columns: 1fr;
    }

    .p-benefit-lg {
        grid-column: span 1;
    }

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

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

    .p-hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .p-card-stack {
        width: 240px;
        height: 240px;
    }

    .p-cta-box {
        padding: 40px 32px;
        flex-direction: column;
        text-align: center;
    }

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

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

    .p-features,
    .p-how,
    .p-benefits {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .p-nav {
        padding: 12px 16px;
    }

    .p-brand img {
        height: 28px;
    }

    .p-link {
        display: none;
    }

    .p-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .p-btn-xl {
        width: 100%;
    }

    .p-btn-outline.p-btn-xl {
        width: 100%;
    }
}
