/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dozi-turquoise: #40E0D0;
    --dozi-pink: #FF6B9D;
    --dozi-coral: #FF8B94;
    --dozi-blue: #4A90E2;
    --dozi-light-blue: #E8F4F8;
    --dozi-dark: #0A1628;
    --dozi-gray: #64748B;
    --dozi-purple: #8B7FFF;
    --dozi-yellow: #FFD93D;
    --dozi-green: #10B981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dozi-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

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

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-blob 20s ease-in-out infinite;
}

.blob1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
    top: -200px;
    left: -100px;
}

.blob2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--dozi-pink), var(--dozi-coral));
    top: 50%;
    right: -150px;
    animation-delay: 2s;
}

.blob3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--dozi-purple), var(--dozi-blue));
    bottom: -100px;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float-blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    z-index: 1000;
}

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

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

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dozi-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--dozi-turquoise);
}

.nav-link.btn-primary {
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
}

.nav-link.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(64, 224, 208, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--dozi-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(64, 224, 208, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dozi-dark);
    border: 2px solid var(--dozi-turquoise);
}

.btn-secondary:hover {
    background: var(--dozi-light-blue);
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--dozi-turquoise);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--dozi-turquoise);
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

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

.preview-header {
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
    padding: 15px 20px;
    display: flex;
    gap: 8px;
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--dozi-light-blue);
    border-radius: 15px;
}

.stat-icon {
    font-size: 36px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--dozi-gray);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--dozi-dark);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 100px 0;
    background: var(--dozi-light-blue);
}

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

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

.section-subtitle {
    font-size: 20px;
    color: var(--dozi-gray);
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.feature-desc {
    color: var(--dozi-gray);
    line-height: 1.8;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.step-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--dozi-turquoise), var(--dozi-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--dozi-gray);
    line-height: 1.8;
}

.step-arrow {
    font-size: 36px;
    color: var(--dozi-turquoise);
    font-weight: 700;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dozi-purple), var(--dozi-pink));
}

.cta-content {
    text-align: center;
    color: white;
}

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

.cta-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dozi-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

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

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--dozi-turquoise);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

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

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }

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

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

    .cta-buttons {
        flex-direction: column;
    }
}
