/* ============================================
   Oddology Inc. - Main Stylesheet
   Modern design with smooth animations
   ============================================ */

/* CSS Custom Properties */
:root {
    --gradient-start: rgba(239, 130, 165, 1);
    --gradient-end: rgba(168, 44, 28, 1);
    --brand-gradient: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f0f0;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-tertiary: #7a7a8a;
    
    --border-color: rgba(26, 26, 46, 0.1);
    --border-hover: rgba(26, 26, 46, 0.2);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(239, 130, 165, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --backdrop-blur: blur(20px);
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --section-padding: 120px;
    --container-max: 1200px;
    --nav-height: 80px;
}

[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(18, 18, 26, 0.8);
    --bg-card-hover: rgba(26, 26, 37, 0.95);
    
    --text-primary: #f5f5f7;
    --text-secondary: #a0a0b0;
    --text-tertiary: #606070;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    
    --glass-bg: rgba(18, 18, 26, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-display);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

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

/* Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

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

[data-theme="dark"] .gradient-orb {
    opacity: 0.15;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-start);
    top: -200px;
    right: -100px;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-end);
    bottom: 20%;
    left: -100px;
    animation-delay: -7s;
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    top: 50%;
    right: 20%;
    animation-delay: -14s;
}

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

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.main-nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-img {
    width: 44px;
    height: 44px;
    transition: transform var(--transition-normal);
}

.nav-logo:hover .logo-img {
    transform: rotate(10deg) scale(1.05);
}

.logo-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    padding: 10px 18px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-link-cta {
    background: var(--brand-gradient);
    color: white !important;
    padding: 10px 24px;
}

.nav-link-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    transform: scale(1.05);
}

.theme-icon {
    width: 22px;
    height: 22px;
    position: absolute;
    transition: all var(--transition-normal);
}

.theme-icon.sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.theme-icon.moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-icon.sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    padding: 15px 30px;
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.mobile-link:hover {
    background: var(--bg-tertiary);
}

.mobile-link-cta {
    background: var(--brand-gradient);
    color: white !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 130, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 130, 165, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: calc(var(--nav-height) + 60px) 24px 60px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    width: fit-content;
    backdrop-filter: var(--backdrop-blur);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-start);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::after {
    content: '+';
    -webkit-text-fill-color: var(--gradient-end);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.octopus-container {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.hero-octopus {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 20px 40px rgba(239, 130, 165, 0.3));
    animation: floatOctopus 6s ease-in-out infinite;
}

@keyframes floatOctopus {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-md);
    font-weight: 500;
    font-size: 0.9rem;
    animation: floatCard 4s ease-in-out infinite;
}

a.floating-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.floating-card:hover {
    transform: scale(1.05);
}

.card-icon {
    font-size: 1.5rem;
}

.card-1 { top: 10%; left: 0; }
.card-2 { top: 50%; right: 0; animation-delay: -1.3s; }
.card-3 { bottom: 10%; left: 10%; animation-delay: -2.6s; }

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

/* Section Styles */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--brand-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gradient-start);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

/* Code Block */
.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    perspective: 1000px;
}

.about-card-inner {
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-normal);
}

.about-card:hover .about-card-inner {
    transform: rotateY(0) rotateX(0);
}

.code-block {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-width: 380px;
}

.code-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.8;
    color: #e0e0e0;
    overflow-x: auto;
}

.code-keyword { color: #c792ea; }
.code-property { color: #82aaff; }
.code-string { color: #c3e88d; }

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    position: relative;
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gradient-start);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 130, 165, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    border-radius: 16px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    color: var(--gradient-start);
    font-weight: 700;
}

/* Services CTA */
.services-cta {
    margin-top: 60px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 50px;
    background: var(--brand-gradient);
    border-radius: 24px;
    color: white;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-content p {
    opacity: 0.9;
}

.cta-card .btn-primary {
    background: white;
    color: var(--gradient-end);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-card .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    border-radius: 14px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details a,
.contact-details span {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--gradient-start);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: var(--backdrop-blur);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 3px rgba(239, 130, 165, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237a7a8a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 48px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(40, 200, 64, 0.1);
    color: #28c840;
    border: 1px solid rgba(40, 200, 64, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(255, 95, 87, 0.1);
    color: #ff5f57;
    border: 1px solid rgba(255, 95, 87, 0.3);
}

/* Footer */
.main-footer {
    background: var(--bg-tertiary);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.footer-logo .logo-img {
    width: 36px;
    height: 36px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gradient-start);
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--gradient-start);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: white;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-modal {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    z-index: 9999;
    animation: slideUp 0.5s ease;
}

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

.cookie-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--shadow-lg);
}

.cookie-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        min-height: 350px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --nav-height: 70px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .floating-card {
        display: none;
    }
    
    .code-block {
        min-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        flex-direction: column;
    }
    
    .feature {
        width: 100%;
    }

    /* Disable text selection on mobile for non-interactive elements */
    body {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Allow text selection in form inputs and textareas */
    input, textarea, [contenteditable="true"] {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }

    /* Custom Cursor */
    .cursor {
        width: 20px;
        height: 20px;
        border: 2px solid var(--gradient-start);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 99999;
        transition: transform 0.1s ease, background 0.2s ease;
        transform: translate(-50%, -50%);
    }

    .cursor-dot {
        width: 6px;
        height: 6px;
        background: var(--gradient-end);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
    }

    .cursor.hover {
        transform: translate(-50%, -50%) scale(2);
        background: rgba(239, 130, 165, 0.2);
        border-color: var(--gradient-end);
    }

    @media (max-width: 768px) {
        .cursor, .cursor-dot { display: none; }
    }

    .hero-visual .octopus-container {
        z-index: 1;
    }

    /* No borders on floating cards */
    .floating-card {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    .floating-card:hover {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }
}

/* ============================================
   Floating Card Positions & Styles
   REPLACE everything after the @media (max-width: 480px) closing brace
   at the END of your main.css file with this:
   ============================================ */

/* Card Positions */
.hero-visual .card-1 {
    top: 288px;
    left: 348px;
    z-index: 10;
}

.hero-visual .card-2 {
    top: 387px;
    left: 81px;
    z-index: 10;
}

.hero-visual .card-3 {
    top: 377px;
    left: 312px;
    z-index: 10;
}

.hero-visual .card-4 {
    top: 286px;
    left: 21px;
    z-index: 10;
}

.hero-visual .octopus-container {
    z-index: 1;
}

/* No borders/blur on floating cards */
.hero-visual .floating-card {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    white-space: nowrap;
}

.hero-visual .floating-card:hover {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: scale(1.05);
}

/* Synced floating animation with octopus */
.hero-visual .floating-card {
    animation: floatOctopus 6s ease-in-out infinite;
    animation-delay: 0s;
}