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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f172a;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(135deg, #fbbf24, #84cc16);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fbbf24;
}

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

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fbbf24;
}

.nav-button {
    padding: 10px 24px;
    border: 1px solid rgba(203, 213, 225, 0.3);
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-button:hover {
    border-color: #84cc16;
    color: #84cc16;
}

/* Section Borders */
.section-border-top,
.section-border-bottom {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(251, 191, 36, 0.3) 20%, 
        rgba(132, 204, 22, 0.4) 50%, 
        rgba(251, 191, 36, 0.3) 80%, 
        transparent 100%);
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    animation: borderGrow 1s ease-out;
}

.section-border-top {
    margin-bottom: 60px;
}

.section-border-bottom {
    margin-top: 60px;
}

@keyframes borderGrow {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.section-border-top::after,
.section-border-bottom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #fbbf24, #84cc16);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

/* Hero Section */
.hero {
    background: #0f172a;
    color: #e2e8f0;
    padding: 140px 20px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -2px;
}

.text-normal {
    color: #cbd5e1;
}

.text-accent {
    background: linear-gradient(135deg, #fbbf24, #84cc16);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cta-primary {
    background: linear-gradient(135deg, #84cc16, #65a30d);
    color: #0f172a;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(132, 204, 22, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(132, 204, 22, 0.4);
}

.cta-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-icon {
    transform: translateX(4px);
}

.cta-secondary {
    padding: 16px 32px;
    border: 1px solid rgba(203, 213, 225, 0.3);
    border-radius: 12px;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    border-color: #84cc16;
    color: #84cc16;
}

/* Hero Visual Card */
.hero-visual {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.visual-card {
    background: #1e293b;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card-header {
    padding: 20px;
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.card-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #84cc16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.profile-name {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 1rem;
}

.card-image {
    height: 400px;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder {
    text-align: center;
    color: #64748b;
}

.image-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}

.card-indicators {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 20px;
    background: rgba(30, 41, 59, 0.8);
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(203, 213, 225, 0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.indicator.active {
    background: linear-gradient(90deg, #fbbf24, #84cc16);
    box-shadow: 0 0 8px rgba(132, 204, 22, 0.5);
}

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

/* Section Styles */
.section {
    padding: 100px 20px;
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate {
    transform: translateY(40px);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #84cc16);
    border-radius: 2px;
    animation: titleUnderline 0.8s ease-out 0.3s both;
}

@keyframes titleUnderline {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.section-text {
    font-size: 1.25rem;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    color: #94a3b8;
    line-height: 1.8;
    font-weight: 400;
}

/* Features Section */
.features-section {
    background: #1e293b;
    padding: 120px 20px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    transition: border-color 0.5s ease;
}

.features-section.animate {
    border-left-color: rgba(251, 191, 36, 0.3);
    border-right-color: rgba(251, 191, 36, 0.3);
}

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

.feature-card {
    background: #0f172a;
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(251, 191, 36, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #84cc16);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #e2e8f0;
    line-height: 1.3;
}

.feature-text {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* How It Works Section */
.how-it-works-section {
    background: #0f172a;
    padding: 120px 20px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    transition: border-color 0.5s ease;
}

.how-it-works-section.animate {
    border-left-color: rgba(251, 191, 36, 0.3);
    border-right-color: rgba(251, 191, 36, 0.3);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    flex: 0 0 auto;
    text-align: center;
    max-width: 160px;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fbbf24, #84cc16);
    color: #0f172a;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    transition: transform 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.15);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.step-text {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

.step-arrow {
    font-size: 2rem;
    color: #475569;
    font-weight: 300;
    align-self: center;
    margin: 0 8px;
    transition: transform 0.3s ease;
}

.step-arrow:hover {
    transform: scale(1.2);
    color: #fbbf24;
}

/* Why Section */
.why-section {
    background: #1e293b;
    padding: 120px 20px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    transition: border-color 0.5s ease;
}

.why-section.animate {
    border-left-color: rgba(251, 191, 36, 0.3);
    border-right-color: rgba(251, 191, 36, 0.3);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.why-item {
    background: #0f172a;
    padding: 36px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(251, 191, 36, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.why-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.why-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
}

.why-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #e2e8f0;
    line-height: 1.3;
}

.why-item p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Tech Stack Section */
.tech-section {
    background: #0f172a;
    padding: 120px 20px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    transition: border-color 0.5s ease;
}

.tech-section.animate {
    border-left-color: rgba(251, 191, 36, 0.3);
    border-right-color: rgba(251, 191, 36, 0.3);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tech-item {
    background: linear-gradient(135deg, #fbbf24, #84cc16);
    color: #0f172a;
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.tech-item.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tech-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(251, 191, 36, 0.4);
}

.tech-item strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tech-item span {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #0a0f1a;
    color: #cbd5e1;
    padding: 60px 20px;
    text-align: center;
    border-top: 3px solid rgba(251, 191, 36, 0.3);
}

.footer p {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.footer-subtext {
    opacity: 0.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 2.25rem;
    }

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

    .step {
        max-width: 140px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 16px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-section,
    .how-it-works-section,
    .why-section,
    .tech-section {
        padding: 80px 20px;
        border-left: none;
        border-right: none;
    }

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

    .steps {
        flex-direction: column;
    }

    .why-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}
