/**
 * Aria Creative - Home Page CSS
 * Ana Sayfa Özel Stilleri
 */

/* ===== Hero Section - Stripe Style (Dark Mode) ===== */
.hero-section {
    position: relative;
    background: #050505;
    padding: 180px 0 200px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    z-index: 1; /* Base layer */
    /* Initial state for curtain reveal animation */
    opacity: 1; /* Changed to 1 - will be animated by main.js if needed */
    transform: none;
    will-change: opacity, transform;
}

/* Enhanced Aurora Mesh Gradient Background - Pure CSS */
.hero-mesh-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -10; /* CRITICAL: Behind everything */
    z-index: 0;
    overflow: hidden;
}

/* Animated colored blobs for Aurora effect */
.hero-mesh-background::before,
.hero-mesh-background::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: auroraFloat 20s ease-in-out infinite;
}

.hero-mesh-background::before {
    width: 600px;
    height: 600px;
    background: rgba(147, 51, 234, 0.4); /* Purple */
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.hero-mesh-background::after {
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.35); /* Cyan */
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

/* Additional Aurora blob using a pseudo-element wrapper */
.hero-section::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: rgba(30, 58, 138, 0.3); /* Deep Blue */
    border-radius: 50%;
    filter: blur(100px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: auroraFloat 25s ease-in-out infinite;
    animation-delay: -5s;
    z-index: 0;
}

@keyframes auroraFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
        opacity: 0.7;
    }
}

/* Professional Split-Screen Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: Single column */
    gap: 48px; /* gap-12 equivalent */
    align-items: center; /* Perfect vertical centering with carousel */
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Desktop: 2 columns */
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr; /* lg:grid-cols-2 */
        gap: 80px; /* lg:gap-20 equivalent */
    }
}

/* Left Column: Content - Professional Split-Screen */
.hero-content {
    text-align: left; /* Desktop: Left-aligned */
    position: relative;
    z-index: 50; /* CRITICAL: Ensure text is always visible */
}

/* Mobile: Center alignment */
@media (max-width: 1023px) {
    .hero-content {
        text-align: center;
    }
}

.hero-title {
    font-size: 3.75rem; /* text-6xl (60px) - Base size */
    font-weight: 800; /* font-extrabold - ExtraBold */
    line-height: 1.1; /* leading-tight - Tight spacing */
    letter-spacing: -0.025em; /* tracking-tight */
    font-family: 'Outfit', sans-serif;
    
    margin-bottom: 0;
    max-width: 36rem;
    text-align: left;
    
    /* Ensure visibility */
    z-index: 50;
    position: relative;
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-title-line-1 {
    color: #ffffff; /* Pure white */
    display: block;
    line-height: 1.1;
}

.hero-title-line-2 {
    background: linear-gradient(135deg, #a855f7, #9333ea, #7c3aed); /* Purple gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #a855f7; /* Fallback purple */
    display: block;
    line-height: 1.1;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
}

/* Mobile: Center alignment */
@media (max-width: 1023px) {
    .hero-title {
        text-align: center;
        max-width: 100%;
    }
}

/* Large screens - text-7xl */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem; /* lg:text-7xl (72px) - Huge on desktop */
    }
    
    .hero-title-line-1,
    .hero-title-line-2 {
        display: block;
    }
}

@media (max-width: 1023px) {
    .hero-title {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title-line-1,
    .hero-title-line-2 {
        display: block;
    }
}

.hero-description {
    font-size: 1.25rem; /* text-xl (20px) */
    font-weight: 300; /* font-light */
    line-height: 1.75; /* leading-relaxed */
    letter-spacing: 0;
    color: #a1a1aa; /* text-zinc-400 */
    font-family: 'Outfit', sans-serif;
    
    margin-top: 24px;
    margin-bottom: 0;
    max-width: 600px; /* Increased for better readability */
    text-align: left; /* Desktop: Left-aligned */
    
    /* Make visible by default */
    opacity: 1;
    transform: translateY(0);
    will-change: opacity, transform;
    position: relative;
    z-index: 50;
}

/* Mobile: Center alignment */
@media (max-width: 1023px) {
    .hero-description {
        text-align: center;
        max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    }
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align to start (left) */
    margin-top: 32px; /* mt-8 - Top margin */
    /* Initial state for GSAP animation */
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
    /* Fallback: Show buttons after a delay if JS doesn't load */
    animation: fadeInButtons 0.8s ease-out 1s forwards;
}

/* Fallback animation if JavaScript doesn't load */
@keyframes fadeInButtons {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* If JavaScript loads, override animation */
.hero-buttons.animated {
    animation: none;
}

/* Mobile: Center buttons */
@media (max-width: 1023px) {
    .hero-buttons {
        justify-content: center;
    }
}

.btn-stripe-primary {
    background: #ffffff;
    color: #000000;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-stripe-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-stripe-secondary {
    background: transparent;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-stripe-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Right Column: WebM Video Container */
.hero-visuals {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 600px;
    display: flex;
    align-items: center; /* Perfect vertical centering with headline */
    justify-content: flex-end; /* Align to right side */
    overflow: visible; /* Allow video to extend beyond container if needed */
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 20; /* Above background, below text (z-index: 50) */
}

/* Hero Video - Transparent WebM with Alpha Channel */
.hero-cube-video {
    width: 120%; /* SCALE UP: 20-30% larger (was 90%, now 120%) */
    height: auto;
    max-width: none; /* Remove max-width constraint for larger size */
    object-fit: contain; /* Prevent clipping, maintain aspect ratio */
    display: block;
    margin: 0;
    margin-left: auto; /* REPOSITION: Shift to the right */
    background: transparent;
    border: none;
    outline: none;
    
    /* Perfect vertical alignment with headline center point */
    align-self: center;
    
    /* GLOW & DEPTH: Enhanced premium glow effect */
    filter: drop-shadow(0 0 40px rgba(130, 100, 255, 0.25)) brightness(1.1);
    
    /* Additional right shift for breathing room */
    transform: translateX(50px) translateZ(0); /* Shift right + GPU acceleration */
    
    /* Performance optimization */
    will-change: transform;
    
    /* Ensure visibility */
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Mobile: Adjust video size for smaller screens */
@media (max-width: 1023px) {
    .hero-cube-video {
        width: 100%; /* Full width on mobile */
        transform: translateX(0) translateZ(0); /* No right shift on mobile */
        margin-left: 0;
    }
    
    .hero-visuals {
        justify-content: center; /* Center on mobile */
    }
}

/* Large screens: Ensure video stays massive and premium */
@media (min-width: 1400px) {
    .hero-cube-video {
        width: 130%; /* Even larger on big screens */
        transform: translateX(60px) translateZ(0); /* More right shift on large screens */
    }
}

/* Hero buttons */
.hero-buttons .btn {
    position: relative;
    transform-origin: center center;
    transition: transform 0.3s ease;
}
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 20;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.phone-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.phone-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 300px;
    padding: 0 24px;
}

.phone-loader-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.phone-loader-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.phone-loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 50%, #a855f7 100%);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
}

.phone-loader-percentage {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
}

/* Premium Glassmorphism Card Base - Stripe-like Aesthetic */
.hero-card-3d {
    position: absolute;
    background: rgba(26, 26, 26, 0.7); /* Semi-transparent for glass effect */
    backdrop-filter: blur(24px); /* Strong blur for true glassmorphism */
    -webkit-backdrop-filter: blur(24px); /* Safari support */
    border-radius: 16px;
    padding: 0;
    width: 360px;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Premium Cut Glass Edge - Thin semi-transparent white border */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Initial state for GSAP animation */
    transform: rotateY(-15deg) rotateX(5deg) translateY(40px);
    will-change: transform;
    overflow: hidden;
}

/* Back Card (main.js) - Wide Diffuse Shadow for Depth */
.hero-card-1 {
    top: 0;
    right: 0;
    transform: rotateY(-15deg) rotateX(5deg) translateY(40px);
    /* Wide, soft, diffuse shadow - floating far from background */
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.hero-card-1:hover {
    transform: rotateY(-12deg) rotateX(3deg) translateY(-10px) translateZ(20px);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.6);
}

/* Front Card (components.css) - Tighter Sharper Shadow for Closeness */
.hero-card-2 {
    bottom: 0;
    right: 60px;
    transform: rotateY(10deg) rotateX(-3deg) translateY(40px);
    width: 340px;
    /* Tighter, sharper, more defined shadow - closer to viewer */
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6);
}

.hero-card-2:hover {
    transform: rotateY(8deg) rotateX(-2deg) translateY(-10px) translateZ(20px);
    box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.7);
}

/* Premium Card Header with Glass Effect */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(15, 15, 15, 0.8); /* Semi-transparent for glass effect */
    backdrop-filter: blur(12px); /* Blur for glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.dot-red {
    background: #ff5f56 !important;
}

.dot-yellow {
    background: #ffbd2e !important;
}

.dot-green {
    background: #27c93f !important;
}

.card-title {
    font-size: 0.75rem;
    color: #cccccc;
    font-weight: 500;
    font-family: 'Monaco', 'Menlo', monospace;
}

/* Code Editor Styles */
/* Crisp Code Content - Premium Typography */
.code-editor .card-content {
    padding: 16px 12px;
    background: rgba(15, 15, 15, 0.6); /* Slightly transparent for glass effect */
    backdrop-filter: blur(8px); /* Additional blur for depth */
    -webkit-backdrop-filter: blur(8px);
    font-family: 'Monaco', 'Menlo', 'Courier New', 'JetBrains Mono', monospace;
    font-size: 0.8rem; /* Slightly larger for better readability */
    line-height: 1.8;
    overflow-x: auto;
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    /* Crisp text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.code-editor .card-content::-webkit-scrollbar {
    width: 6px;
}

.code-editor .card-content::-webkit-scrollbar-track {
    background: transparent;
}

.code-editor .card-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.code-editor .card-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Premium Code Line Styling */
.code-line {
    margin-bottom: 3px; /* Slightly more spacing for clarity */
    display: flex;
    align-items: flex-start;
    min-height: 20px; /* Slightly taller for better readability */
    /* Crisp text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Crisp Line Numbers */
.line-number {
    color: rgba(255, 255, 255, 0.25); /* Slightly more visible but still subtle */
    padding-right: 12px;
    padding-left: 4px;
    text-align: right;
    min-width: 28px;
    user-select: none;
    font-size: 0.75rem; /* Slightly larger for better readability */
    font-weight: 400;
    /* Crisp rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.code-line.indent-1 {
    padding-left: 20px;
}

.code-line.indent-2 {
    padding-left: 40px;
}

.code-line.indent-3 {
    padding-left: 60px;
}

/* Premium Neon Syntax Highlighting - Stripe-like Vibrant Colors */
.code-keyword {
    color: #ff79c6; /* Neon Pink - Vibrant and pops */
    font-weight: 600; /* Slightly bolder for better visibility */
}

.code-variable {
    color: #8be9fd; /* Electric Cyan - Bright and clear */
}

.code-function {
    color: #50fa7b; /* Bright Green - Electric and vibrant */
    font-weight: 500;
}

.code-string {
    color: #50fa7b; /* Bright Green - Same as functions for consistency */
}

.code-operator {
    color: #ff79c6; /* Neon Pink - Matches keywords */
}

.code-bracket {
    color: #ffb86c; /* Warm Orange - Good contrast */
}

.code-comment {
    color: #6272a4; /* Muted Blue - Softer for comments but still readable */
    font-style: italic;
}

.code-number {
    color: #bd93f9; /* Soft Purple - Distinct from other elements */
}

.code-tag {
    color: #8be9fd; /* Electric Cyan - Matches variables */
}

.code-text {
    color: #f8f8f2; /* Off-white - Crisp and readable */
}

/* Design Interface Styles */
/* Design Interface Card Content - Glass Effect */
.design-interface .card-content {
    padding: 20px;
    background: rgba(26, 26, 26, 0.6); /* Semi-transparent for glass effect */
    backdrop-filter: blur(8px); /* Additional blur for depth */
    -webkit-backdrop-filter: blur(8px);
    position: relative;
}

.design-content {
    padding: 0;
}

.ui-preview-container {
    position: relative;
    padding: 20px;
    background: rgba(15, 15, 15, 0.7); /* Semi-transparent for glass effect */
    backdrop-filter: blur(4px); /* Subtle blur */
    -webkit-backdrop-filter: blur(4px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border for definition */
}

/* Newsletter Card UI */
.newsletter-card {
    background: linear-gradient(135deg, rgba(43, 16, 85, 0.3) 0%, rgba(70, 80, 120, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.newsletter-header {
    margin-bottom: 20px;
}

.newsletter-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-primary);
}

.newsletter-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

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

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-button {
    padding: 12px 24px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.newsletter-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* CSS Property Annotations */
.css-annotation {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.annotation-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.annotation-label {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: 'Monaco', 'Menlo', monospace;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.annotation-border-radius {
    top: 8px;
    right: 8px;
}

.annotation-border-radius .annotation-line {
    width: 40px;
    height: 40px;
    top: -20px;
    right: -20px;
    border-radius: 12px;
}

.annotation-border-radius .annotation-label {
    top: -8px;
    right: 50px;
}

.annotation-shadow {
    bottom: 8px;
    left: 8px;
}

.annotation-shadow .annotation-line {
    width: 60px;
    height: 4px;
    bottom: -8px;
    left: -8px;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.annotation-shadow .annotation-label {
    bottom: -8px;
    left: 60px;
}

.annotation-flex {
    bottom: 50%;
    right: -20px;
    transform: translateY(50%);
}

.annotation-flex .annotation-line {
    width: 2px;
    height: 80px;
    top: -40px;
    right: 0;
}

.annotation-flex .annotation-label {
    top: -12px;
    right: 8px;
    transform: rotate(-90deg);
    transform-origin: top right;
}

/* ===== Responsive Hero Section ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-visuals {
        height: auto;
        min-height: 300px;
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }
    
    .newsletter-card {
        max-width: 100%;
    }
    
    .design-tooltip {
        display: none; /* Hide tooltips on tablet */
    }
    
    .hero-content {
        text-align: center; /* Mobile: Center alignment */
    }
    
    .hero-title {
        font-size: 3rem; /* Mobile: Slightly smaller */
        text-align: center;
        max-width: 100%;
    }
    
    .hero-description {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visuals {
        height: 500px;
        margin-top: 40px;
    }
    
    #hero-canvas-container {
        width: 100%;
        height: 100%;
    }
    
    .hero-card-1 {
    position: relative;
        right: auto;
        top: auto;
    }
    
    .hero-card-2 {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem; /* text-6xl (56px) - Tablet - Still massive */
    }
    
    .hero-description {
        font-size: 1.25rem; /* text-xl (20px) - Tablet */
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 120px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem; /* text-5xl (40px) - Mobile - Still impactful */
        letter-spacing: -0.03em;
    }

    .hero-description {
        font-size: 1.125rem; /* text-lg (18px) - Mobile */
        margin-top: 24px; /* Slightly less margin on mobile */
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 32px; /* Slightly less margin on mobile */
    }
    
    .hero-visuals {
        height: 400px;
        margin-top: 40px;
    }
    
    #hero-canvas-container {
        width: 100%;
        height: 100%;
    }
    
    .btn-stripe-primary,
    .btn-stripe-secondary {
        width: 100%;
    justify-content: center;
    }
    
    .hero-visuals {
        height: auto;
        min-height: 300px;
    }
    
    .line-number {
        min-width: 24px;
        padding-right: 8px;
        font-size: 0.65rem;
    }
    
    .newsletter-card {
        padding: 16px;
    }
    
    .newsletter-header h3 {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 8px;
    }
    
    .newsletter-button {
        width: 100%;
    }
    
    .css-annotation {
        display: none;
    }
}

/* ===== Feature Section with Floating Code Animation ===== */
#keyboard-features {
    position: relative;
    padding: 120px 0;
    background: #050505;
    min-height: 80vh;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.keyboard-features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    align-items: center;
}

/* Left Column: Text Content */
.keyboard-features-text {
    padding-right: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.keyboard-features-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.keyboard-features-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    text-align: left;
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-keyboard-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #ffffff;
    color: #000000;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-keyboard-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Right Column: Floating Code Fragments */
.keyboard-features-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    mask-image: radial-gradient(circle, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 50%, transparent 100%);
}

#code-fragments-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.code-fragment {
    position: absolute;
    font-family: 'Courier New', 'Fira Code', 'Monaco', 'Menlo', monospace;
    font-size: 16px; /* Base size, will be scaled by depth */
    color: #ffffff; /* Pure white */
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity, filter, text-shadow;
    font-weight: 400;
    transform-origin: center center;
    /* Text shadow will be applied dynamically via JS based on depth */
}


/* Responsive Feature Section */
@media (max-width: 1024px) {
    .keyboard-features-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .keyboard-features-text {
        padding-right: 0;
        text-align: center;
        align-items: center;
    }
    
    .keyboard-features-title,
    .keyboard-features-subtitle {
        text-align: center;
        max-width: 100%;
    }
    
    .keyboard-features-visual {
        min-height: 400px;
        order: 2;
    }
    
    .keyboard-features-text {
        order: 1;
    }
    
    /* Bento Grid Responsive */
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-grid > .bento-card {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    .bento-card-tall {
        min-height: 200px; /* Reset tall card height on mobile */
    }
    
    /* New Bento Grid Responsive */
    .bento-grid-new {
        grid-template-columns: 1fr;
    }
    
    .bento-grid-new > .bento-card-new {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    .bento-card-wide-new .bento-image-placeholder,
    .bento-card-normal-new .bento-image-placeholder {
        height: 160px; /* Even more compact on mobile */
    }
    
    .bento-card-content {
        padding: 16px; /* More compact padding on mobile */
    }
    
    .bento-card-new h3 {
        font-size: 1rem; /* Smaller on mobile */
    }
    
    .bento-card-new p {
        font-size: 0.8125rem; /* Smaller on mobile */
    }
}

@media (max-width: 768px) {
    #keyboard-features {
        padding: 80px 0;
        min-height: auto;
    }
    
    .keyboard-features-title {
        font-size: 2.5rem;
    }
    
    .keyboard-features-subtitle {
    font-size: 1.1rem;
    }
    
    .keyboard-features-visual {
        min-height: 350px;
    }
    
    .bento-card {
        padding: 24px;
        min-height: 180px;
    }
    
    .bento-card h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .keyboard-features-title {
        font-size: 2rem;
    }
    
    .keyboard-features-subtitle {
        font-size: 1rem;
    }
    
    .keyboard-features-visual {
        min-height: 300px;
    }
    
    .bento-card {
        padding: 20px;
        min-height: 160px;
    }
    
    .bento-card h3 {
        font-size: 1.1rem;
    }
    
    .bento-card p {
        font-size: 0.875rem;
    }
}

/* ===== Features Section ===== */
.features-section {
    position: relative;
    padding: var(--spacing-2xl) 0;
    background-color: #0a0a0f;
    color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-dark);
}

.features-section .section-header {
    position: relative;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-section .section-title {
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.features-section .section-subtitle {
    color: var(--color-gray);
    font-size: 1.125rem;
}

.features-section .container {
    position: relative;
}

.features-section .bento-grid-new {
    position: relative;
}

/* Ensure no overflow issues on mobile - all content visible */
@media (max-width: 768px) {
    .features-section {
        overflow: visible;
        padding: var(--spacing-xl) 0;
    }
    
    .features-section .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .features-section .section-subtitle {
        font-size: 1rem;
    }
}

/* Premium Entrance Animations for Features Section */
.features-header-entrance {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-header-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.features-title-entrance {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.features-title-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.features-subtitle-entrance {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.features-subtitle-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.feature-card-animated {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.feature-card-entrance-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* GPU Acceleration for smooth animations */
.features-section .section-header,
.features-section .section-title,
.features-section .section-subtitle,
.features-section .bento-card-new {
    backface-visibility: hidden;
    perspective: 1000px;
    -webkit-font-smoothing: antialiased;
}

/* ===== New Bento Grid Layout (Reference Style) ===== */
.bento-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1024px; /* max-w-5xl equivalent (1024px) - more compact */
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Card Layout - Reference Structure */
.bento-grid-new > .bento-card-new:nth-child(1) {
    grid-column: 1 / span 2; /* Top-Left: WIDE (spans 2 columns) */
    grid-row: 1;
}

.bento-grid-new > .bento-card-new:nth-child(2) {
    grid-column: 1; /* Top-Right: NORMAL (moved to row 2, column 1) */
    grid-row: 2;
}

.bento-grid-new > .bento-card-new:nth-child(3) {
    grid-column: 2; /* Bottom-Left: NORMAL (moved to row 2, column 2) */
    grid-row: 2;
}

.bento-grid-new > .bento-card-new:nth-child(4) {
    grid-column: 1 / span 2; /* Bottom-Right: WIDE (spans 2 columns) */
    grid-row: 3;
}

/* Bento Card Base Styling */
.bento-card-new {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px; /* rounded-xl */
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.bento-card-new:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

/* Image Placeholder Container */
.bento-image-placeholder {
    width: 100%;
    background: #111;
    position: relative;
    overflow: hidden;
}

.bento-card-wide-new .bento-image-placeholder {
    aspect-ratio: 16 / 9; /* Video aspect for wide cards */
    height: 180px; /* Fixed shorter height (was 200px+) */
}

.bento-card-normal-new .bento-image-placeholder {
    aspect-ratio: 1 / 1; /* Square-ish for normal cards */
    height: 180px; /* Fixed shorter height (was 200px+) */
}

/* Card Content */
.bento-card-content {
    padding: 20px; /* Reduced from 24px (p-5 equivalent) */
    display: flex;
    flex-direction: column;
    gap: 8px; /* Tighter gap */
}

.bento-icon {
    width: 20px; /* Slightly smaller */
    height: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2px; /* Tighter spacing */
}

.bento-card-new h3 {
    color: #ffffff;
    font-size: 1.125rem; /* text-lg (18px) - reduced from 1.25rem */
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.bento-card-new p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem; /* text-sm (14px) - already small */
    line-height: 1.4; /* Slightly tighter */
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Temporary Visual Graphics ===== */

/* 1. Wireframe/Blueprint (Card 1 - Yaratıcı Strateji) */
.wireframe-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
}

.wireframe-line {
    position: absolute;
    background: rgba(100, 150, 255, 0.3);
    box-shadow: 0 0 10px rgba(100, 150, 255, 0.5);
}

.wireframe-line-1 {
    top: 25%;
    left: 10%;
    width: 75%;
    height: 1.5px; /* Thinner line */
    animation: wireframeGlow 3s ease-in-out infinite;
}

.wireframe-line-2 {
    top: 50%;
    left: 10%;
    width: 75%;
    height: 1.5px;
    animation: wireframeGlow 3s ease-in-out infinite 0.5s;
}

.wireframe-line-3 {
    top: 75%;
    left: 10%;
    width: 75%;
    height: 1.5px;
    animation: wireframeGlow 3s ease-in-out infinite 1s;
}

.wireframe-box {
    position: absolute;
    border: 2px solid rgba(100, 150, 255, 0.4);
    box-shadow: 0 0 15px rgba(100, 150, 255, 0.6);
    background: rgba(100, 150, 255, 0.05);
}

.wireframe-box-1 {
    top: 15%;
    left: 15%;
    width: 28%;
    height: 22%;
    animation: wireframeGlow 3s ease-in-out infinite 0.3s;
}

.wireframe-box-2 {
    top: 40%;
    right: 15%;
    width: 32%;
    height: 25%;
    animation: wireframeGlow 3s ease-in-out infinite 0.7s;
}

.wireframe-box-3 {
    bottom: 15%;
    left: 20%;
    width: 45%;
    height: 18%;
    animation: wireframeGlow 3s ease-in-out infinite 1.2s;
}

@keyframes wireframeGlow {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 10px rgba(100, 150, 255, 0.5);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 20px rgba(100, 150, 255, 0.8);
    }
}

/* 2. Code Cube/Terminal (Card 2 - Modern Teknoloji) */
.code-cube-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%; /* Slightly smaller */
    height: 65%; /* Adjusted for compact space */
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 100, 0.3);
    border-radius: 4px;
    padding: 12px; /* Reduced padding */
    font-family: 'Courier New', monospace;
}

.code-line {
    height: 10px; /* Slightly thinner */
    background: rgba(0, 255, 100, 0.2);
    border-radius: 2px;
    margin-bottom: 6px; /* Tighter spacing */
    animation: codeLinePulse 2s ease-in-out infinite;
}

.code-line-1 {
    width: 60%;
    animation-delay: 0s;
}

.code-line-2 {
    width: 80%;
    animation-delay: 0.2s;
}

.code-line-3 {
    width: 45%;
    animation-delay: 0.4s;
}

.code-line-4 {
    width: 70%;
    animation-delay: 0.6s;
}

.code-cursor {
    position: absolute;
    bottom: 12px; /* Adjusted for reduced padding */
    left: 12px;
    width: 6px; /* Slightly smaller */
    height: 10px;
    background: rgba(0, 255, 100, 0.8);
    animation: codeCursorBlink 1s ease-in-out infinite;
}

@keyframes codeLinePulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes codeCursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* 3. Gradient Color Palette (Card 3 - Estetik Tasarım) */
.gradient-palette-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%; /* Slightly smaller */
    height: 55%; /* Adjusted for compact space */
    display: flex;
    gap: 6px; /* Tighter gap */
    align-items: center;
    justify-content: center;
}

.palette-color {
    flex: 1;
    height: 100%;
    border-radius: 8px;
    animation: paletteShift 4s ease-in-out infinite;
}

.palette-color-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation-delay: 0s;
}

.palette-color-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation-delay: 0.5s;
}

.palette-color-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation-delay: 1s;
}

.palette-color-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    animation-delay: 1.5s;
}

.palette-color-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    animation-delay: 2s;
}

@keyframes paletteShift {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.8;
    }
    50% {
        transform: scaleY(1.1);
        opacity: 1;
    }
}

/* 4. Network Nodes (Card 4 - Güçlü Altyapı) */
.network-nodes-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%; /* Slightly smaller */
    height: 75%; /* Adjusted for compact space */
}

.network-node {
    position: absolute;
    width: 14px; /* Slightly smaller */
    height: 14px;
    background: rgba(100, 200, 255, 0.8);
    border: 1.5px solid rgba(100, 200, 255, 1); /* Thinner border */
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(100, 200, 255, 0.6); /* Slightly smaller glow */
    animation: nodePulse 2s ease-in-out infinite;
}

.network-node-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.network-node-2 {
    top: 20%;
    right: 20%;
    animation-delay: 0.3s;
}

.network-node-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 0.6s;
}

.network-node-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 0.9s;
}

.network-connection {
    position: absolute;
    height: 1.5px; /* Thinner line */
    background: linear-gradient(90deg, transparent, rgba(100, 200, 255, 0.4), transparent);
    box-shadow: 0 0 6px rgba(100, 200, 255, 0.3); /* Slightly smaller glow */
    animation: connectionFlow 3s ease-in-out infinite;
}

.network-conn-1 {
    top: 20%;
    left: 20%;
    width: 60%;
    transform: rotate(0deg);
    animation-delay: 0s;
}

.network-conn-2 {
    top: 50%;
    left: 20%;
    width: 60%;
    transform: rotate(90deg);
    transform-origin: left center;
    animation-delay: 1s;
}

.network-conn-3 {
    top: 20%;
    left: 20%;
    width: 60%;
    transform: rotate(45deg);
    transform-origin: left center;
    animation-delay: 2s;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes connectionFlow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.6;
    }
}

/* ===== Premium Bento Grid Layout (Linear/Raycast Style) ===== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Row 1: Large Wide (Yaratıcı Tasarım) + Small Square (Hızlı Çözümler) */
.bento-grid > .bento-card:nth-child(1) {
    grid-column: span 2;
    grid-row: 1;
}

.bento-grid > .bento-card:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

/* Row 2: Tall Vertical (Profesyonel) + 2 Squares (Güvenilir, Ölçeklenebilir) */
.bento-grid > .bento-card:nth-child(3) {
    grid-column: 1;
    grid-row: span 2; /* Spans 2 rows */
}

.bento-grid > .bento-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.bento-grid > .bento-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

/* Row 3: Wide Card (Hedef Odaklı) - Bottom Right */
.bento-grid > .bento-card:nth-child(6) {
    grid-column: span 2;
    grid-row: 3;
}

/* Bento Card Base Styling (Linear/Raycast Aesthetic) */
.bento-card {
    background: #080808; /* Dark surface, slightly lighter than page bg */
    padding: 32px;
    border-radius: 24px; /* rounded-3xl */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Ultra-thin subtle border */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.4); /* Brighter border on hover */
}

.bento-card:hover::before {
    width: 300px;
    height: 300px;
}

/* Card Size Variants */
.bento-card-large {
    min-height: 240px;
}

.bento-card-small {
    min-height: 200px;
}

.bento-card-tall {
    min-height: 420px; /* Spans 2 rows */
}

.bento-card-square {
    min-height: 200px;
}

.bento-card-wide {
    min-height: 200px;
}

/* Bento Content (Text) - Minimal Typography */
.bento-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 2;
    position: relative;
}

.bento-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.bento-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Bento Visual Hooks (CSS Micro-Graphics) */
.bento-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.bento-card:hover .bento-visual {
    opacity: 0.6;
}

/* ===== Visual Graphics ===== */

/* 1. Floating Shapes (Yaratıcı Tasarım) */
.floating-shapes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shape-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 20%;
    left: 20%;
    animation: floatShape 6s ease-in-out infinite;
}

.shape-square {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    top: 50%;
    right: 20%;
    animation: floatShape 8s ease-in-out infinite 1s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(255, 255, 255, 0.1);
    background: none;
    bottom: 20%;
    left: 50%;
    animation: floatShape 7s ease-in-out infinite 2s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, -20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* 2. Bolt Icon (Hızlı Çözümler) */
.bolt-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

.bolt-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 30px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    clip-path: polygon(50% 0%, 0% 100%, 50% 70%, 50% 100%, 100% 0%, 50% 30%);
    animation: boltPulse 2s ease-in-out infinite;
}

.bolt-flash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: boltFlash 2s ease-in-out infinite;
}

@keyframes boltPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) rotate(-45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) rotate(-45deg) scale(1.1);
    }
}

@keyframes boltFlash {
    0%, 100% {
    opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 3. User Profile Mockup (Profesyonel Hizmet) */
.user-profile-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto 16px;
}

.profile-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 8px;
}

.profile-line-1 {
    width: 100%;
}

.profile-line-2 {
    width: 80%;
}

.profile-line-3 {
    width: 60%;
}

/* 4. Lock Graphic (Güvenilir) */
.lock-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

.lock-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.lock-shackle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
}

/* 5. Bar Chart (Ölçeklenebilir) */
.bar-chart {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    height: 80px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px 4px 0 0;
    height: var(--height);
    transition: height 0.4s ease;
    animation: chartGrow 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

.bento-card:hover .chart-bar {
    animation-duration: 1s;
    background: rgba(255, 255, 255, 0.3);
}

@keyframes chartGrow {
    0%, 100% {
        transform: scaleY(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 0.8;
    }
}

/* 6. Target Graphic (Hedef Odaklı) */
.target-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.target-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.target-ring-1 {
    width: 100px;
    height: 100px;
    animation: targetPulse 3s ease-in-out infinite;
}

.target-ring-2 {
    width: 60px;
    height: 60px;
    animation: targetPulse 3s ease-in-out infinite 0.5s;
}

.target-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: targetPulse 3s ease-in-out infinite 1s;
}

@keyframes targetPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}


/* ===== CTA Section ===== */
.cta-section {
    background: var(--color-black-deep);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
    overflow: visible; /* Changed from hidden to prevent clipping */
    border-bottom: 1px solid var(--color-gray-dark);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}

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

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    color: var(--color-white);
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Optimization for CTA Section (320px-375px) */
@media (max-width: 375px) {
    .cta-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: var(--spacing-sm);
    }
    
    .cta-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: var(--spacing-lg);
    }
    
    .cta-section .btn {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
    }
}

/* ===== Scroll Animations ===== */
@media (prefers-reduced-motion: no-preference) {
    .bento-card,
    .stat-card {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .bento-card:nth-child(1) { animation-delay: 0.1s; }
    .bento-card:nth-child(2) { animation-delay: 0.2s; }
    .bento-card:nth-child(3) { animation-delay: 0.3s; }
    .bento-card:nth-child(4) { animation-delay: 0.4s; }
    .bento-card:nth-child(5) { animation-delay: 0.5s; }
    .bento-card:nth-child(6) { animation-delay: 0.6s; }
    .bento-card:nth-child(7) { animation-delay: 0.7s; }
}

/* ===== Additional Responsive Styles ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem; /* Override - consistent with main responsive */
    }
    
    .hero-description {
        font-size: 1.125rem; /* Override - consistent with main responsive */
    }
    
    .hero-logo-image {
        height: 110px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section {
        min-height: 500px;
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem; /* text-4xl (32px) - Small mobile */
        letter-spacing: -0.02em;
    }
    
    .hero-description {
        font-size: 1rem; /* text-base (16px) - Small mobile */
        margin-top: 20px;
    }
    
    .hero-buttons {
        margin-top: 28px;
    }
    
    .hero-logo-image {
        height: 90px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number,
    .stat-label {
        font-size: 2.5rem;
    }
}

/* ===== TextMarquee Styling ===== */
/* Professional Marquee Loop between Section 1 (keyboard-features) and Section 2 (features-section) */
#text-marquee-mount,
[data-marquee-injected="true"] {
    position: relative;
    width: 100%;
    z-index: 5; /* Structural divider - not overlapping content */
    overflow-x: hidden; /* Prevent horizontal overflow on mobile */
}

/* Ensure marquee container is centered and responsive */
#text-marquee-mount > div {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Mobile Responsive Adjustments for TextMarquee */
/* Prevent horizontal overflow on small screens (320px+) */
@media (max-width: 768px) {
    #text-marquee-mount {
        padding: 3rem 0; /* Reduced padding on mobile (48px instead of 64px) */
        overflow-x: hidden; /* Force horizontal scroll prevention */
    }
    
    #text-marquee-mount > div {
        overflow-x: hidden !important;
        max-width: 100vw; /* Constrain to viewport width */
    }
}

@media (max-width: 375px) {
    #text-marquee-mount {
        padding: 2.5rem 0; /* Further reduced padding on small mobile (40px) */
        overflow-x: hidden; /* Critical for 320px screens */
    }
}

/* Prevent text marquee from causing horizontal scroll */
#text-marquee-mount * {
    max-width: 100%;
    box-sizing: border-box;
}
