:root {
    --primary-pink: #F63F8C;
    --primary-teal: #2DD4BF;
    --primary-purple: #8B5CF6;
    --dark-text: #1a1a1a;
    --medium-text: #4a5568;
    --light-text: #718096;
    --background: #fafbfc;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --nav-height: 80px;
}

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


nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-pink);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    list-style: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

/* Enhanced Header */
header {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,80 1000,100 0,100"/></svg>') no-repeat bottom;
    background-size: cover;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Enhanced Main Content */
main {
    padding: 100px 0;
    position: relative;
}

.section {
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-purple));
    display: block;
    margin: 30px auto 0;
    border-radius: 2px;
}

h2 {
    color: var(--primary-pink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h3 {
    color: var(--primary-pink);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin: 50px 0 24px 0;
    letter-spacing: -0.01em;
}

h4 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0 12px 0;
    letter-spacing: -0.01em;
}

p {
    font-size: 1.0rem;
    margin-bottom: 24px;
    color: var(--medium-text);
    line-height: 1.8;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.highlight {
    background: linear-gradient(120deg, var(--primary-teal) 0%, var(--primary-teal) 100%);
    background-repeat: no-repeat;
    background-size: 100% 30%;
    background-position: 0 85%;
    font-weight: 600;
    color: var(--dark-text);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Enhanced Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-purple), var(--primary-pink));
}

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

/* Enhanced Journey Steps */
.journey-container {
    position: relative;
    margin: 60px 0;
}

.journey-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-teal), var(--primary-purple));
    z-index: 0;
}

.journey-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 40px 0 40px 60px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(45, 212, 191, 0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    position: absolute;
    left: -85px;
    top: 40px;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

/* Enhanced Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-purple));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-sm);
}

/* Enhanced Demo Placeholder */
.demo-placeholder {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px dashed #cbd5e0;
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.demo-placeholder:hover {
    border-color: var(--primary-teal);
    background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
}

.demo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.demo-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    display: block;
}

.demo-text {
    font-size: 1.5rem;
    color: var(--medium-text);
    font-weight: 600;
    margin-bottom: 12px;
}

/* Enhanced Lists */
ul {
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}


/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo img {
        height: 35px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 0.8rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .logo img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.8rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    body {
        padding-top: var(--nav-height);
    }

    .container {
        padding: 0 24px;
    }

    header {
        padding: 60px 0 80px;
    }

    main {
        padding: 40px 0;
    }

    .section {
        margin-bottom: 60px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .card, .feature-card {
        padding: 24px 20px;
    }

    .journey-step {
        margin-left: 40px;
        padding: 24px 20px;
    }

    .step-number {
        left: -50px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .journey-container::before {
        left: 12px;
    }

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

    .demo-placeholder {
        padding: 40px 20px;
    }

    .demo-icon {
        font-size: 3.5rem;
    }

    .btn {
        padding: 16px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 50px 0 70px;
    }

    .card {
        padding: 20px 16px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 60px;
    }

    body {
        padding-top: var(--nav-height);
    }

    .container {
        padding: 0 16px;
    }

    header {
        padding: 40px 0 60px;
    }

    .journey-step {
        margin-left: 0;
        padding: 20px 16px;
    }

    .step-number {
        position: relative;
        left: 0;
        margin-bottom: 16px;
        margin-left: 0;
    }

    .journey-container::before {
        display: none;
    }

    .demo-placeholder {
        padding: 30px 16px;
    }

    .demo-icon {
        font-size: 3rem;
    }

    .demo-text {
        font-size: 1.2rem;
    }

    ul {
        margin: 16px 0;
    }

    li {
        padding: 12px 0;
        padding-left: 32px;
        font-size: 1rem;
    }

    li::before {
        left: 8px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .card, .feature-card, .journey-step {
        padding: 16px 12px;
    }

    .demo-placeholder {
        padding: 24px 12px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .demo-placeholder {
        background: #f8fafc !important;
        color: var(--dark-text) !important;
    }
}
