/*
 * Fintrix Labs LLC - Corporate Website Styles
 * Dark theme with diagonal gradient background
 * Accent gradient: blue → teal → purple
 * Responsive, accessible, and optimized for performance
 */

/* Enhanced Color Gradients and Visual Hierarchy */

/* Refined gradient backgrounds */
.hero {
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.98) 0%, 
            rgba(0, 20, 15, 0.95) 30%,
            rgba(0, 0, 0, 0.98) 70%,
            rgba(0, 15, 10, 0.95) 100%);
}

/* Enhanced button gradients */
.btn-primary {
    background: linear-gradient(135deg, 
        #00ff88 0%, 
        #00e676 25%, 
        #00cc6a 50%, 
        #00b359 75%, 
        #009944 100%);
    box-shadow: 
        0 8px 32px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, 
        #00ff88 0%, 
        #00ff88 25%, 
        #00e676 50%, 
        #00cc6a 75%, 
        #00b359 100%);
    box-shadow: 
        0 12px 48px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.1) 0%, 
        rgba(0, 255, 136, 0.05) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.2) 0%, 
        rgba(0, 255, 136, 0.1) 100%);
}

/* Enhanced area card gradients */
.area-card {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.12) 0%, 
        rgba(0, 40, 30, 0.8) 25%,
        rgba(0, 0, 0, 0.9) 75%, 
        rgba(0, 255, 136, 0.08) 100%);
    border: 1px solid;
    border-image: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.4) 0%, 
        rgba(0, 255, 136, 0.1) 50%, 
        rgba(0, 255, 136, 0.4) 100%) 1;
}

.area-card:hover {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.18) 0%, 
        rgba(0, 50, 40, 0.85) 25%,
        rgba(0, 20, 15, 0.9) 75%, 
        rgba(0, 255, 136, 0.12) 100%);
    border-image: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.6) 0%, 
        rgba(0, 255, 136, 0.3) 50%, 
        rgba(0, 255, 136, 0.6) 100%) 1;
}

/* Enhanced trading dashboard gradients */
.trading-dashboard {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.08) 0%, 
        rgba(0, 30, 25, 0.9) 25%,
        rgba(0, 0, 0, 0.95) 75%, 
        rgba(0, 255, 136, 0.06) 100%);
    border: 1px solid;
    border-image: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.3) 0%, 
        rgba(0, 255, 136, 0.1) 50%, 
        rgba(0, 255, 136, 0.3) 100%) 1;
}

/* Enhanced text hierarchy */
.glow-text {
    background: linear-gradient(135deg, 
        #00ff88 0%, 
        #ffffff 50%, 
        #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    position: relative;
}

.tech-highlight {
    background: linear-gradient(135deg, 
        #00ff88 0%, 
        #00e676 25%, 
        #00cc6a 50%, 
        #00b359 75%, 
        #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

/* Clean header styling - removed conflicting gradient */

/* Enhanced footer gradient */
.footer {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.98) 0%, 
        rgba(0, 25, 20, 0.95) 25%,
        rgba(0, 15, 10, 0.95) 75%, 
        rgba(0, 0, 0, 0.98) 100%);
}

/* Enhanced visual depth with layered shadows */
.hero-stats .stat-item {
    box-shadow: 
        0 8px 32px rgba(0, 255, 136, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.hero-stats .stat-item:hover {
    box-shadow: 
        0 12px 48px rgba(0, 255, 136, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Enhanced icon gradients */
.area-icon svg {
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.4));
}

.area-card:hover .area-icon svg {
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.7));
}

/* CSS Custom Properties */
:root {
    /* Electric Green Tech Colors */
    --primary-green: #00ff88;
    --secondary-green: #00cc6a;
    --accent-green: #39ff14;
    --dark-green: #00aa55;
    --neon-green: #00ff41;
    
    /* Tech Gradient */
    --tech-gradient: linear-gradient(135deg, var(--primary-green) 0%, var(--neon-green) 50%, var(--accent-green) 100%);
    --matrix-gradient: linear-gradient(90deg, transparent 0%, var(--primary-green) 50%, transparent 100%);
    
    /* Dark Tech Theme */
    --color-bg-primary: #000000;
    --color-bg-secondary: #0a0a0a;
    --color-text-primary: #ffffff;
    --color-text-secondary: #00ff88;
    --color-text-muted: #666666;
    
    /* Brand gradient colors */
    --color-brand-blue: #00ff88;
    --color-brand-teal: #00cc6a;
    --color-brand-purple: #39ff14;
    
    /* Surface colors */
    --color-surface: rgba(0, 255, 136, 0.1);
    --color-surface-hover: rgba(0, 255, 136, 0.15);
    --color-border: rgba(0, 255, 136, 0.3);
    
    /* Focus and interaction */
    --color-focus: #00ff88;
    --color-error: #ff4444;
    
    /* Typography */
    --font-family: Inter, 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.35s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Import Roboto Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Global Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', var(--font-family);
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tech Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        var(--grid-pattern),
        var(--matrix-pattern),
        var(--bg-gradient);
    background-size: 
        50px 50px,
        100% 200px,
        100% 100%;
    background-position: 
        0 0,
        0 0,
        center center;
    z-index: -2;
    opacity: 0.8;
    animation: matrixFlow 20s linear infinite;
}

/* Matrix Animation */
@keyframes matrixFlow {
    0% { background-position: 0 0, 0 0, center center; }
    100% { background-position: 50px 50px, 0 200px, center center; }
}

/* Glowing Particles Effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 255, 65, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(57, 255, 20, 0.06) 0%, transparent 50%);
    z-index: -1;
    animation: particleFloat 15s ease-in-out infinite alternate;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(-20px) rotate(2deg); opacity: 0.4; }
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 1000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all var(--transition-base);
}

.logo:hover {
    color: var(--primary-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    transform: scale(1.05);
}

.logo-mark {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.8));
    transition: all var(--transition-base);
}

.logo:hover .logo-mark {
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 1));
    transform: rotate(5deg);
}

/* Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.nav-toggle:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: all var(--transition-base);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

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

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

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

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all var(--transition-base);
    position: relative;
    background: transparent;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.1);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    transform: translateY(-1px);
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 255, 136, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
    }
    
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(0, 255, 136, 0.2);
        color: #ffffff;
        font-weight: 600;
        text-align: center;
    }
    
    .nav-link:hover {
        background: rgba(0, 255, 136, 0.1);
        border-color: rgba(0, 255, 136, 0.4);
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, #00ff88, #00cc6a);
        color: #000000;
        border-color: #00ff88;
    }
}

/* Sections */
.section {
    padding: 60px 0;
    background: #000000;
    color: #ffffff;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-brand-blue), var(--color-brand-teal), var(--color-brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.section-title-left {
    text-align: left;
    position: relative;
}

.section-title-left::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.8) 20%, 
        rgba(0, 255, 136, 1) 50%, 
        rgba(0, 255, 136, 0.8) 80%, 
        transparent 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.section-title-right {
    text-align: right;
    position: relative;
}

.section-title-right::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.8) 20%, 
        rgba(0, 255, 136, 1) 50%, 
        rgba(0, 255, 136, 0.8) 80%, 
        transparent 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.trading-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    animation: dataFlow 6s ease-in-out infinite;
}

.market-indicators {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 100px;
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    animation: indicatorBlink 3s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

/* Typography Enhancements */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-family: 'Roboto', sans-serif;
}

.glow-text {
    color: var(--primary-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    animation: textGlow 2s ease-in-out infinite alternate;
    font-weight: 900;
}

.tech-highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

/* Hero Description Styling */
.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    max-width: 600px;
}

.highlight {
    color: #00ff88;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    background: linear-gradient(135deg, #00ff88, #00e676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    background: rgba(0, 255, 136, 0.05);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading-dashboard {
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.dashboard-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.1em;
    font-family: 'Roboto', sans-serif;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-green);
    animation: statusPulse 2s ease-in-out infinite;
}

.chart-container {
    margin-bottom: 1.5rem;
}

.trading-chart {
    width: 100%;
    height: 200px;
}

.market-data {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.data-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.data-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    font-family: 'Roboto', sans-serif;
}

.data-change {
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

.data-change.positive {
    color: var(--primary-green);
}

.data-change.negative {
    color: #ff4444;
}

/* Enhanced Animations and Micro-interactions */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
        transform: scale(1.02);
    }
}

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

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
    }
    50% {
        transform: rotate(180deg);
        filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.8));
    }
    100% {
        transform: rotate(360deg);
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
    }
}

@keyframes dataStreamFlow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes chartLineGrow {
    0% {
        stroke-dasharray: 0 1000;
    }
    100% {
        stroke-dasharray: 1000 0;
    }
}

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

@keyframes dataFlow {
    0%, 100% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(10px) translateY(-5px); }
    66% { transform: translateX(-5px) translateY(10px); }
}

@keyframes indicatorBlink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

/* Apply animations to elements */
.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.trading-dashboard {
    animation: slideInFromRight 1s ease-out 1s both;
}

.area-card:nth-child(odd) {
    animation: slideInFromLeft 0.8s ease-out both;
}

.area-card:nth-child(even) {
    animation: slideInFromRight 0.8s ease-out both;
}

.area-card:nth-child(1) { animation-delay: 0.1s; }
.area-card:nth-child(2) { animation-delay: 0.2s; }
.area-card:nth-child(3) { animation-delay: 0.3s; }
.area-card:nth-child(4) { animation-delay: 0.4s; }
.area-card:nth-child(5) { animation-delay: 0.5s; }
.area-card:nth-child(6) { animation-delay: 0.6s; }

.btn-primary {
    animation: pulseGlow 3s ease-in-out infinite;
}

.btn-primary:hover {
    animation: none;
    transform: translateY(-3px) scale(1.05);
}

.area-icon {
    animation: floatAnimation 4s ease-in-out infinite;
}

.area-card:hover .area-icon {
    animation: rotateGlow 2s ease-in-out infinite;
}

.status-indicator {
    animation: pulseGlow 2s ease-in-out infinite;
}

.data-stream::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.3) 50%, 
        transparent 100%);
    animation: dataStreamFlow 3s ease-in-out infinite;
}

/* Enhanced hover transitions */
.area-card,
.btn,
.social-link,
.nav-link {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger animation for lists */
.area-features li {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out both;
}

.area-card:hover .area-features li:nth-child(1) { animation-delay: 0.1s; }
.area-card:hover .area-features li:nth-child(2) { animation-delay: 0.2s; }
.area-card:hover .area-features li:nth-child(3) { animation-delay: 0.3s; }
.area-card:hover .area-features li:nth-child(4) { animation-delay: 0.4s; }
.area-card:hover .area-features li:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced Mobile Responsiveness */
@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
        padding: 0 10px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .stat-item {
        padding: 16px;
        text-align: center;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .btn {
        padding: 16px 24px;
        font-size: 0.95rem;
        text-align: center;
    }
    
    .trading-dashboard {
        padding: 16px;
        border-radius: 12px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .dashboard-title {
        font-size: 0.9rem;
    }
    
    .status-indicator {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .chart-container {
        height: 180px;
        margin: 16px 0;
    }
    
    .market-data {
        gap: 8px;
    }
    
    .data-row {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .area-card {
        padding: 28px 20px;
        border-radius: 14px;
    }
    
    .area-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }
    
    .area-title {
        font-size: 1.3rem;
        margin-bottom: 14px;
    }
    
    .area-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .area-features li {
        font-size: 0.85rem;
        padding: 6px 0;
        padding-left: 18px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .trading-dashboard {
        max-width: 100%;
    }
    
    .market-indicators {
        display: none;
    }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .area-card {
        padding: 40px 30px;
    }
    
    .trading-dashboard {
        padding: 24px;
    }
    
    .chart-container {
        height: 220px;
    }
}

/* Large Screen Optimizations */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .area-card {
        padding: 56px 44px;
    }
    
    .area-icon {
        width: 80px;
        height: 80px;
    }
    
    .area-title {
        font-size: 1.8rem;
    }
    
    .trading-dashboard {
        padding: 36px;
    }
    
    .chart-container {
        height: 280px;
    }
}

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    background: transparent;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: #000000;
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-green);
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

.btn-ghost {
    color: var(--primary-green);
    border-color: transparent;
    background: transparent;
}

.btn-ghost:hover {
    color: var(--neon-green);
    border-color: var(--primary-green);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: var(--glow-green);
}

/* Tech Data Display */
.tech-display {
    font-family: var(--font-mono);
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    padding: 1rem;
    color: var(--primary-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    position: relative;
    overflow: hidden;
}

.tech-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--matrix-gradient);
    animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Glowing Text Effect */
.glow-text {
    color: var(--primary-green);
    text-shadow: 
        0 0 5px rgba(0, 255, 136, 0.5),
        0 0 10px rgba(0, 255, 136, 0.3),
        0 0 15px rgba(0, 255, 136, 0.2);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { 
        text-shadow: 
            0 0 5px rgba(0, 255, 136, 0.5),
            0 0 10px rgba(0, 255, 136, 0.3),
            0 0 15px rgba(0, 255, 136, 0.2);
    }
    to { 
        text-shadow: 
            0 0 10px rgba(0, 255, 136, 0.8),
            0 0 20px rgba(0, 255, 136, 0.5),
            0 0 30px rgba(0, 255, 136, 0.3);
    }
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

/* Trust strip */
.trust-strip {
    margin-top: var(--spacing-xl);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    opacity: 0.4;
    filter: grayscale(100%);
}

.trust-logo {
    width: 80px;
    height: 32px;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
}

/* About section */
.about-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1.5rem;
}

.about-block {
    position: relative;
    max-width: 700px;
    width: 100%;
}

.about-decorator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.decorator-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.6) 50%, 
        transparent 100%);
    position: relative;
}

.decorator-line::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.2) 50%, 
        transparent 100%);
    filter: blur(1px);
}

.decorator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(0, 255, 136, 1) 0%, 
        rgba(0, 255, 136, 0.6) 70%, 
        transparent 100%);
    box-shadow: 
        0 0 10px rgba(0, 255, 136, 0.5),
        0 0 20px rgba(0, 255, 136, 0.2);
    animation: dotPulse 2s ease-in-out infinite;
}

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

.about-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
}

.separator-icon {
    width: 24px;
    height: 24px;
    color: rgba(0, 255, 136, 0.7);
    animation: separatorGlow 3s ease-in-out infinite;
}

@keyframes separatorGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.6));
        transform: scale(1.1);
    }
}

.about-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.9;
    text-align: left;
    position: relative;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.about-content p::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.3) 20%, 
        rgba(0, 255, 136, 0.6) 50%, 
        rgba(0, 255, 136, 0.3) 80%, 
        transparent 100%);
    opacity: 0;
    animation: lineReveal 1s ease-out 0.5s forwards;
}

@keyframes lineReveal {
    from { 
        opacity: 0;
        transform: scaleY(0);
    }
    to { 
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .decorator-line {
        width: 40px;
    }
    
    .about-content p::before {
        display: none;
    }
    
    .separator-icon {
        width: 20px;
        height: 20px;
    }
}

/* Areas Section */
.areas {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.03) 0%, 
        rgba(0, 0, 0, 0.95) 50%, 
        rgba(0, 255, 136, 0.03) 100%);
    position: relative;
}

.areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        linear-gradient(90deg, transparent 49%, rgba(0, 255, 136, 0.1) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0, 255, 136, 0.1) 50%, transparent 51%);
    background-size: 100px 100px, 100px 100px, 50px 50px, 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
    pointer-events: none;
}

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

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 0 0 auto;
    line-height: 1.6;
    text-align: right;
}

/* Areas grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.area-card {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.08) 0%, 
        rgba(0, 0, 0, 0.85) 100%);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 20px;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    height: fit-content;
    text-align: center;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.08) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.area-card:hover::before {
    opacity: 1;
}

.area-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 
        0 25px 50px rgba(0, 255, 136, 0.15),
        0 0 0 1px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.area-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-brand-blue), var(--color-brand-teal));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px auto;
    color: white;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.area-card:hover .area-icon {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.6));
}

.area-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
}

.area-description {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.area-features {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.area-features li {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.area-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.area-card:hover .area-features li {
    color: rgba(255, 255, 255, 0.95);
    border-left-color: rgba(0, 255, 136, 0.3);
}

.area-card:hover .area-features li::before {
    color: #00ff88;
    transform: translateX(6px);
    opacity: 1;
}

/* Tech grid pattern for areas */
.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(0, 255, 136, 0.06) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0, 255, 136, 0.06) 50%, transparent 51%);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .areas {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 50px;
    }
    
    .area-card {
        padding: 36px 28px;
        border-radius: 16px;
    }
    
    .area-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 24px;
    }
    
    .area-title {
        font-size: 1.4rem;
    }
    
    .area-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .area-features li {
        font-size: 0.9rem;
        padding: 8px 0;
        padding-left: 20px;
    }
}

/* Compliance section */
.compliance-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    font-family: 'Roboto', sans-serif;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.compliance-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    font-size: 1.125rem;
}

.compliance-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-brand-teal);
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.compliance-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
    max-width: 600px;
    margin: 2rem auto 0 auto;
    padding: 0 2rem;
}

/* Company info */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 0.01rem;
    text-align: right;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.info-item dt {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    font-size: 1.1rem;
}

.info-item dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    font-size: 1rem;
}

.info-item a {
    color: var(--color-brand-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-item a:hover {
    color: var(--color-brand-blue);
}

.link-button {
    background: none;
    border: none;
    color: var(--color-brand-teal);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    padding: 0;
    transition: color var(--transition-fast);
}

.link-button:hover {
    color: var(--color-brand-blue);
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text-primary);
    font: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-brand-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.error-message {
    display: block;
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    min-height: 1.25rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.mailto-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.mailto-link:hover {
    color: var(--color-brand-teal);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 255, 136, 0.05) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(0, 255, 136, 0.05) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0, 255, 136, 0.05) 50%, transparent 51%);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo::before {
    content: '⚡';
    font-size: 1.8rem;
    color: #00ff88;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6));
}

.footer-description {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    color: #00ff88;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}

.footer-section h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 16px;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00ff88;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 136, 0.15);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #00ff88;
}

.copyright {
    color: var(--color-text-secondary);
    margin: 0;
}

.footer-note {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin: 0;
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-sm);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        flex-direction: column;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-logo {
        justify-content: center;
        font-size: 1.8rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90vw;
    max-height: 80vh;
    overflow: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-surface);
    color: var(--color-text-primary);
}

.modal-body {
    padding: var(--spacing-md);
}

.modal-body p {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body a {
    color: var(--color-brand-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.modal-body a:hover {
    color: var(--color-brand-blue);
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-border: rgba(255, 255, 255, 0.3);
        --color-surface: rgba(255, 255, 255, 0.1);
    }
}

/* 3D Floating Geometric Elements */
.floating-geometry {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* Toroide/Donut Shape */
.geometry-toroide {
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-brand-teal);
    border-radius: 50%;
    position: relative;
    animation: float-rotate 20s infinite linear;
}

.geometry-toroide::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-brand-teal);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
}

.geometry-toroide::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid var(--color-brand-teal);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

/* Wireframe Sphere */
.geometry-sphere {
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-brand-blue);
    border-radius: 50%;
    position: relative;
    animation: float-pulse 15s infinite ease-in-out;
}

.geometry-sphere::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-brand-blue);
    transform: translateY(-50%);
    opacity: 0.6;
}

.geometry-sphere::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--color-brand-blue);
    transform: translateX(-50%);
    opacity: 0.6;
}

/* Spiral/Helix */
.geometry-spiral {
    width: 80px;
    height: 150px;
    position: relative;
    animation: float-spiral 25s infinite linear;
}

.geometry-spiral::before,
.geometry-spiral::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-brand-purple);
    border-radius: 2px;
    transform-origin: left center;
}

.geometry-spiral::before {
    top: 20%;
    transform: rotate(45deg);
    animation: spiral-line1 8s infinite ease-in-out;
}

.geometry-spiral::after {
    top: 60%;
    transform: rotate(-45deg);
    animation: spiral-line2 8s infinite ease-in-out reverse;
}

/* Double Ring */
.geometry-double-ring {
    width: 90px;
    height: 90px;
    border: 2px solid var(--color-brand-teal);
    border-radius: 50%;
    position: relative;
    animation: float-wobble 18s infinite ease-in-out;
}

.geometry-double-ring::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid var(--color-brand-teal);
    border-radius: 50%;
    opacity: 0.5;
    animation: ring-orbit 12s infinite linear;
}

/* Infinity Shape */
.geometry-infinity {
    width: 120px;
    height: 60px;
    position: relative;
    animation: float-infinity 22s infinite ease-in-out;
}

.geometry-infinity::before,
.geometry-infinity::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-brand-blue);
    border-radius: 50%;
    top: 5px;
}

.geometry-infinity::before {
    left: 0;
    transform: rotate(-20deg);
}

.geometry-infinity::after {
    right: 0;
    transform: rotate(20deg);
}

/* Animations */
@keyframes float-rotate {
    0% { transform: rotate(0deg) translateY(0px); }
    25% { transform: rotate(90deg) translateY(-10px); }
    50% { transform: rotate(180deg) translateY(0px); }
    75% { transform: rotate(270deg) translateY(10px); }
    100% { transform: rotate(360deg) translateY(0px); }
}

@keyframes float-pulse {
    0%, 100% { transform: scale(1) translateY(0px); opacity: 0.6; }
    50% { transform: scale(1.1) translateY(-15px); opacity: 0.8; }
}

@keyframes float-spiral {
    0% { transform: rotate(0deg) translateY(0px); }
    100% { transform: rotate(360deg) translateY(-20px); }
}

@keyframes float-wobble {
    0%, 100% { transform: rotate(0deg) translateY(0px); }
    25% { transform: rotate(5deg) translateY(-8px); }
    50% { transform: rotate(0deg) translateY(-15px); }
    75% { transform: rotate(-5deg) translateY(-8px); }
}

@keyframes float-infinity {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(180deg); }
}

@keyframes ring-orbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes spiral-line1 {
    0%, 100% { transform: rotate(45deg) scaleX(1); }
    50% { transform: rotate(135deg) scaleX(0.7); }
}

@keyframes spiral-line2 {
    0%, 100% { transform: rotate(-45deg) scaleX(1); }
    50% { transform: rotate(-135deg) scaleX(0.7); }
}

/* Positioning classes for different sections */
.geometry-top-left {
    top: 10%;
    left: 5%;
}

.geometry-top-right {
    top: 15%;
    right: 8%;
}

.geometry-bottom-left {
    bottom: 20%;
    left: 10%;
}

.geometry-bottom-right {
    bottom: 15%;
    right: 5%;
}

.geometry-center-left {
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
}

.geometry-center-right {
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-geometry {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-geometry,
    .floating-geometry::before,
    .floating-geometry::after {
        animation: none !important;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .toast,
    .modal,
    .floating-geometry {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}