/* ============================================
   CACTUSTIZIM - PREMIUM LANDING PAGE
   Light Theme • Minimal • Modern SaaS Aesthetic
   ============================================ */

/* Root Variables */
:root {
    --primary-color: #06B721;
    --primary-light: #06B72120;
    --primary-lighter: #06B72108;
    --white: #ffffff;
    --light-bg: #f9fafb;
    --very-light: #f0f1f3;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-light: #e5e7eb;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    --border-radius: 12px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   GENERAL LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    padding: 4rem 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.accent-line-top {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

.hero-headline {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.375rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.primary-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(6, 183, 33, 0.25);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(6, 183, 33, 0.35);
}

.primary-btn:hover::before {
    width: 300px;
    height: 300px;
}

.primary-btn:active {
    transform: translateY(-2px);
}

/* ============================================
   VISION SECTION
   ============================================ */

.vision {
    padding: 5rem 2rem;
    background: var(--white);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.vision-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(6, 183, 33, 0.04) 0%, rgba(6, 183, 33, 0.02) 100%);
    border: 1px solid var(--primary-lighter);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.vision-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.accent-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.vision-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.vision-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--very-light) 100%);
}

.section-headline {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.feature-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.card-accent {
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.feature-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */

.philosophy {
    padding: 5rem 2rem;
    background: var(--white);
    position: relative;
}

.philosophy-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto 3rem;
    opacity: 0.6;
}

.philosophy-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.philosophy-quote {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.philosophy-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   VISUAL DIVIDER SECTION
   ============================================ */

.visual-divider {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--very-light) 50%, var(--light-bg) 100%);
    position: relative;
    overflow: hidden;
}

.divider-content {
    max-width: 600px;
    margin: 0 auto;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-pattern {
    position: relative;
    width: 200px;
    height: 200px;
    animation: rotate 20s linear infinite;
}

.pattern-element {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    background: rgba(6, 183, 33, 0.04);
}

.pattern-element:nth-child(1) {
    top: 0;
    left: 0;
    animation: float 6s ease-in-out infinite;
}

.pattern-element:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite 1s;
}

.pattern-element:nth-child(3) {
    bottom: 0;
    right: 0;
    animation: float 6s ease-in-out infinite 2s;
}

/* ============================================
   FOOTER SECTION
   ============================================ */

.footer {
    padding: 4rem 2rem 2rem;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.footer-message {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.nav-divider {
    color: var(--border-light);
    font-weight: 300;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* ============================================
   BACKGROUND ELEMENTS
   ============================================ */

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(6, 183, 33, 0.08) 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(6, 183, 33, 0.06) 0%, rgba(6, 183, 33, 0.02) 100%);
    bottom: -200px;
    left: -200px;
    animation-delay: 4s;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .hero-headline {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
    }

    .vision,
    .features,
    .philosophy,
    .visual-divider,
    .footer {
        padding: 3rem 1.5rem;
    }

    .vision-grid {
        gap: 2rem;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .section-headline {
        margin-bottom: 2.5rem;
    }

    .gradient-orb-1 {
        width: 200px;
        height: 200px;
        top: -100px;
        right: -100px;
    }

    .gradient-orb-2 {
        width: 250px;
        height: 250px;
        bottom: -150px;
        left: -150px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-headline {
        font-size: 1.5rem;
    }

    .philosophy-quote {
        font-size: 1.25rem;
    }

    .feature-card,
    .vision-card {
        padding: 1.5rem;
    }

    .footer-nav {
        gap: 0.5rem;
    }
}
