/* ============================================
   ikonik.ai - "Aiby" Aesthetic (Black & Emerald)
   ============================================ */

:root {
    /* Pure Black Background */
    --color-black: #000000;
    --color-surface: #000000;
    --color-surface-hover: #0a0a0a;
    --color-white: #FFFFFF;
    
    --color-gray-100: #000000;
    --color-gray-200: #0a0a0a;
    --color-gray-400: #1a1a1a;
    --color-gray-500: #FFFFFF;
    --color-gray-600: #FFFFFF;
    
    /* Blue Purple Primary Accent */
    --color-accent: #5875F8; 
    --color-accent-dim: rgba(88, 117, 248, 0.1);
    --color-accent-glow: rgba(88, 117, 248, 0.4);
    
    /* Purple Pink Secondary Accent */
    --color-secondary: #A170FA;
    --color-secondary-dim: rgba(161, 112, 250, 0.1);
    --color-secondary-glow: rgba(161, 112, 250, 0.4);
    
    /* Gradient for hero and accents */
    --gradient-primary: linear-gradient(135deg, #5875F8 0%, #A170FA 100%);
    
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-serif: 'Playfair Display', serif; /* For accent words */
    
    --radius-full: 9999px;
    --radius-xl: 20px;
    --radius-lg: 12px;
    
    --container-max: 1200px;
    --inner-padding: 24px;
    
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--color-black);
    color: var(--color-gray-600);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.section {
    padding: 120px 0;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--inner-padding);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--inner-padding);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
    text-decoration: none;
}

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

.nav-links a {
    color: var(--color-gray-500);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-white);
}

/* --- Hero Section --- */
.hero {
    padding: 220px 0 120px;
    text-align: center;
    position: relative;
}

/* Metal/Glass Orbs Background */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-dim), transparent 70%);
    top: 20%;
    left: 20%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
    top: 60%;
    right: 20%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-400);
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 88px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 32px;
}

/* Serif Italic Accent */
.font-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-gray-500);
    max-width: 540px;
    margin: 0 auto 56px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    gap: 8px; /* For icon spacing */
}

.btn-primary {
    background: var(--color-accent);
    color: #000; /* Black text on Emerald for contrast */
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--color-accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-small {
    padding: 10px 20px;
    font-size: 13px;
}

/* --- Grid / Cards --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 18px;
    color: var(--color-gray-500);
    margin-bottom: 32px;
    max-width: 480px;
}

/* Glass Card Style */
.card-glass {
    background: var(--color-surface);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.card-glass:hover {
    border-color: rgba(182, 255, 0, 0.3); /* Neon green border on hover */
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.card-text {
    font-size: 15px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* --- Process Section (Vertical List) --- */
.process-step {
    border-left: 1px solid var(--color-gray-200);
    padding-left: 40px;
    padding-bottom: 60px;
    position: relative;
}

.process-step:last-child {
    border-left: 1px solid transparent;
}

.step-number {
    position: absolute;
    left: -20px; /* half of width to center on line */
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-black);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-gray-500);
    font-family: var(--font-primary);
}

.process-step:hover .step-number {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: 0 0 20px var(--color-secondary-glow);
}

/* --- Form --- */
input, textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-surface-hover);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(182, 255, 0, 0.05);
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .hero-title { font-size: 56px; }
    .section-title { font-size: 36px; }
    .grid-2 { grid-template-columns: 1fr; gap: 48px; }
    .nav-links { display: none; }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    /* Container & Spacing */
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* Navigation */
    .nav {
        padding: 16px 0;
    }
    
    .logo {
        font-size: 18px;
    }
    
    /* Hero */
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 36px !important;
        line-height: 1.15;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 24px;
    }
    
    /* Typography */
    .section-title {
        font-size: 28px !important;
        margin-bottom: 16px;
    }
    
    .section-desc {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .section-label {
        font-size: 11px;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }
    
    /* Grid */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Cards */
    .card-glass {
        padding: 24px;
        border-radius: 16px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-text {
        font-size: 14px;
    }
    
    /* Process Steps */
    .process-step {
        padding-left: 24px;
        padding-bottom: 40px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        left: -16px;
        font-size: 12px;
    }
    
    /* Forms */
    input, textarea {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Orbs - reduce size on mobile */
    .orb-1 {
        width: 250px;
        height: 250px;
    }
    
    .orb-2 {
        width: 200px;
        height: 200px;
    }
    
    /* Footer Grid - 2 columns on tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
    
    /* Journey Grid - 2 columns on tablet */
    .journey-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px !important;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Footer Grid - Single Column */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    /* Logo Marquee - Hide or Stack */
    .logo-marquee, .logo-row {
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: center !important;
    }
    
    /* Journey Grid - Stack Vertically */
    .journey-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    /* Navigation Links - Hide */
    .nav-links {
        display: none !important;
    }
}

/* --- Hero Title Letter Spacing Animation --- */
@keyframes letterExpand {
    0% {
        letter-spacing: -0.04em;
        opacity: 0.8;
    }
    100% {
        letter-spacing: 0.02em;
        opacity: 1;
    }
}

/* Özel animasyon: İkinci satır için daha uzun ve geniş */
@keyframes letterExpandWide {
    0% {
        letter-spacing: -0.05em;
        opacity: 0.7;
    }
    100% {
        letter-spacing: 0.15em;
        opacity: 1;
    }
}

.animated-title {
    display: inline-block;
    animation: letterExpand 2.5s ease-out forwards;
}

.animated-title-wide {
    display: inline-block;
    animation: letterExpandWide 5s ease-out forwards;
}
