:root {
    --bg-dark: #0a0a0f;
    --bg-card: #141420;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --accent-blue: #4a9eff;
    --accent-purple: #9945ff;
    --accent-green: #14f195;
    --accent-red: #ff4a6b;
    --accent-yellow: #ffd700;
    --gradient-main: linear-gradient(135deg, #4a9eff 0%, #9945ff 100%);
    --gradient-card: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(153, 69, 255, 0.1) 100%);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 48px rgba(74, 158, 255, 0.2);
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

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

.subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-primary);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--gradient-main);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

/* Section Styles */
.section {
    padding: 120px 20px;
    animation: fadeIn 0.8s ease-out;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(74, 158, 255, 0.3), transparent);
}

.section:first-of-type::before {
    display: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Content Card */
.content-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 4rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(74, 158, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

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

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(74, 158, 255, 0.4);
}

.description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.content-card:hover .description {
    color: rgba(160, 160, 184, 0.9);
}

.description.highlight {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(74, 158, 255, 0.3);
    margin-top: 1rem;
    position: relative;
}

.description.highlight::before {
    content: '✨';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
}

/* Metrics Demo */
.metrics-demo {
    display: flex;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.metrics-demo::before {
    content: '';
    position: absolute;
    inset: -1.5rem;
    background: radial-gradient(circle at center, rgba(74, 158, 255, 0.05), transparent 70%);
    border-radius: 24px;
    z-index: -1;
}

.metric-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 1.8rem 3rem;
    border-radius: 20px;
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.metric-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-item:hover {
    transform: scale(1.08) translateY(-4px);
}

.metric-item:hover::after {
    opacity: 1;
}

.metric-item.negative {
    border-color: var(--accent-red);
}

.metric-item.negative .metric-value {
    color: var(--accent-red);
}

.metric-item.positive {
    border-color: var(--accent-green);
}

.metric-item.positive .metric-value {
    color: var(--accent-green);
}

.metric-item.warning {
    border-color: var(--accent-yellow);
}

.metric-item.warning .metric-value {
    color: var(--accent-yellow);
}

.metric-label {
    color: var(--text-secondary);
}

.recommendation {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 20px;
    font-size: 1.15rem;
    border: 1px solid rgba(74, 158, 255, 0.3);
    position: relative;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.recommendation::before {
    content: '💡';
    position: absolute;
    top: -16px;
    left: 2rem;
    font-size: 2rem;
    background: var(--bg-card);
    padding: 0 0.5rem;
}

.recommendation:hover {
    border-color: rgba(74, 158, 255, 0.5);
    box-shadow: 0 4px 24px rgba(74, 158, 255, 0.15);
}

.recommendation strong {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(74, 158, 255, 0.2), transparent);
    z-index: 0;
}

.step-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(74, 158, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.step-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

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

.step-card:hover::after {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(74, 158, 255, 0.5);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(74, 158, 255, 0.5);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.step-card:hover p {
    color: var(--text-primary);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    text-align: center;
    border: 1px solid rgba(74, 158, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: var(--gradient-main);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.benefit-card:hover::after {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, rgba(20, 20, 32, 0.9), rgba(20, 20, 32, 0.8));
}

.benefit-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.benefit-card:hover h3 {
    transform: scale(1.05);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.benefit-card:hover p {
    color: rgba(160, 160, 184, 1);
}

/* Tech Stack */
.tech-stack {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.tech-tag {
    background: var(--bg-card);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(74, 158, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--gradient-main);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(74, 158, 255, 0.3);
}

.tech-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.tech-description strong {
    color: var(--accent-green);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 120px 40px;
    background: var(--gradient-card);
    border-radius: 40px;
    margin: 80px 20px 60px;
    border: 1px solid rgba(74, 158, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 20px;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }

    .section::before {
        height: 40px;
    }

    .metrics-demo {
        flex-direction: column;
        gap: 1rem;
    }

    .metric-item {
        width: 100%;
        justify-content: center;
    }

    .content-card {
        padding: 2.5rem;
        border-radius: 24px;
    }

    .step-card,
    .benefit-card {
        padding: 2.5rem 2rem;
    }

    .benefit-card {
        border-radius: 24px;
    }

    .cta-section {
        margin: 60px 0 40px;
        padding: 80px 30px;
        border-radius: 32px;
    }

    .steps::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .tech-stack {
        gap: 0.5rem;
    }

    .tech-tag {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}