/* Reset and Base Styles */
:root {
    --primary: rgb(0, 194, 203);
    --secondary: #34AD54;
    --light: rgb(238, 249, 255);
    --dark: #161a20;
    --white: rgb(255, 255, 255);
    --gray: #6B7280;
    --primary-transparent: rgba(0, 194, 203, 0.85);
    --primary-transparent-more: rgba(0, 194, 203, 0.65);
    --primary-transparent-max: rgba(0, 194, 203, 0.4);
    --light-transparent: rgba(238, 249, 255, 0.85);
    --light-transparent-more: rgba(238, 249, 255, 0.65);
    --dark-transparent: rgba(47, 54, 64, 0.85);
    --dark-transparent-more: rgba(47, 54, 64, 0.65);
    --white-transparent: rgba(255, 255, 255, 0.85);
    --white-transparent-more: rgba(255, 255, 255, 0.65);
}

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

html {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 50%, #334155 100%);
    color: var(--light);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
}

/* Backup overlay to ensure complete coverage */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 50%, #334155 100%);
    pointer-events: none;
    z-index: 0;
}

/* Hide scrollbar on desktop by default */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Firefox - hide scrollbar on desktop */
* {
    scrollbar-width: none;
}

/* Show custom scrollbar only on mobile/tablet devices */
@media (max-width: 1024px), (hover: none) {
    ::-webkit-scrollbar {
        width: 8px;
        background: transparent;
    }

    ::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, rgba(102, 126, 234, 1) 0%, rgba(118, 75, 162, 1) 100%);
    }

    /* Firefox Scrollbar for mobile */
    * {
        scrollbar-width: thin;
        scrollbar-color: rgba(102, 126, 234, 0.8) rgba(255, 255, 255, 0.1);
    }
}

/* Animated Code Typing Background */
body::before {
    content: 'function initApp() {\A  const data = await fetchAPI();\A  processData(data);\A  renderUI();\A}|\A\Aclass Component {\A  constructor(props) {\A    this.state = {};\A  }\A\A  render() {\A    return <div>{this.props.children}</div>;\A  }\A}|\A\Aconst handleClick = (e) => {\A  e.preventDefault();\A  updateState(newValue);\A};|\A\Aexport default App;';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 194, 203, 0.25);
    white-space: pre;
    padding: 20px;
    animation: typeCode 20s infinite linear;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Code Typing Animations */
@keyframes typeCode {
    0% {
        transform: translateY(-20px);
        opacity: 0.3;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.85;
        transform: translateY(50vh);
    }
    75% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.3;
    }
}

@keyframes typeCodeReverse {
    0% {
        transform: translateY(100vh);
        opacity: 0.3;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.85;
        transform: translateY(50vh);
    }
    75% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-20px);
        opacity: 0.3;
    }
}

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

@keyframes smoothCodeFlow {
    0% {
        transform: translateY(-50px) translateX(0);
        opacity: 0.3;
    }
    20% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.8;
        transform: translateY(50vh) translateX(10px);
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) translateX(0);
        opacity: 0.3;
    }
}

/* Typing Cursor Element */
.typing-cursor::after {
    content: '|';
    animation: typingCursor 1s infinite;
    color: rgba(0, 194, 203, 0.8);
}

@keyframes fadeCodeIn {
    0%, 100% {
        opacity: 0.25;
        transform: scale(0.98);
    }
    50% {
        opacity: 0.45;
        transform: scale(1);
    }
}

@keyframes terminalBlink {
    0%, 90% {
        opacity: 0.35;
    }
    95% {
        opacity: 0.55;
    }
    100% {
        opacity: 0.35;
    }
}

@keyframes slideCode {
    0% {
        transform: translateX(-20px);
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(20px);
        opacity: 0.15;
    }
}

@keyframes codeGlow {
    0%, 100% {
        opacity: 0.3;
        text-shadow: 0 0 5px rgba(0, 194, 203, 0.2);
    }
    50% {
        opacity: 0.45;
        text-shadow: 0 0 10px rgba(0, 194, 203, 0.3);
    }
}

/* Loading Dots Animation */
.loading-dots {
    display: inline;
    margin-left: 0.2em;
}

.loading-dots span {
    color: var(--primary) !important;
    font-weight: bold !important;
    display: inline-block !important;
    -webkit-text-fill-color: var(--primary) !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    vertical-align: baseline !important;
    transform-origin: center center !important;
}

.dot-1 {
    animation: dot1Fade 1.2s infinite ease-in-out;
    animation-delay: 0s;
}

.dot-2 {
    animation: dot2Fade 1.2s infinite ease-in-out;
    animation-delay: 0.2s;
}

.dot-3 {
    animation: dot3Fade 1.2s infinite ease-in-out;
    animation-delay: 0.4s;
}

@keyframes dot1Fade {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(1) translateY(0);
    }
    40% {
        opacity: 1;
        transform: scale(1.2) translateY(0);
    }
}

@keyframes dot2Fade {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(1) translateY(0);
    }
    40% {
        opacity: 1;
        transform: scale(1.2) translateY(0);
    }
}

@keyframes dot3Fade {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(1) translateY(0);
    }
    40% {
        opacity: 1;
        transform: scale(1.2) translateY(0);
    }
}

@keyframes binaryFlow {
    0% {
        transform: translateX(0);
        opacity: 0.22;
    }
    50% {
        opacity: 0.35;
    }
    100% {
        transform: translateX(-20px);
        opacity: 0.15;
    }
}

/* Floating code symbols */
.container::after {
    content: '{ } < /> [ ] ( ) => function() { return true; } const app = () => { console.log("Hello World"); }';
    position: absolute;
    top: 15%;
    left: 10%;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(0, 194, 203, 0.18);
    white-space: pre-wrap;
    width: 200px;
    line-height: 1.4;
    pointer-events: none;
    z-index: 1;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.08; }
    50% { transform: translateY(-20px) rotate(2deg); opacity: 0.12; }
    100% { transform: translateY(0px) rotate(0deg); opacity: 0.08; }
}

/* Bottom Left Code Animation */
.hero-content::before {
    content: 'import { useState } from "react";\A\Aconst [data, setData] = useState([]);\Aconst [loading, setLoading] = useState(false);\A\Aconst fetchData = async () => {\A  setLoading(true);\A  try {\A    const response = await fetch("/api/data");\A    const result = await response.json();\A    setData(result);\A  } catch (error) {\A    console.error("Fetch error:", error);\A  } finally {\A    setLoading(false);\A  }\A};';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 250px;
    height: 300px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1.5;
    color: rgba(0, 194, 203, 0.15);
    white-space: pre;
    animation: fadeCodeIn 18s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    transform: rotate(3deg);
    overflow: hidden;
}

.hero-content::after {
    content: '📁 src/\n  📁 components/\n    📄 Header.jsx\n    📄 Hero.jsx\n    📄 Form.jsx\n  📁 styles/\n    📄 main.css\n    📄 variables.css\n  📄 App.jsx\n  📄 index.js\n📁 public/\n  📄 index.html\n📄 package.json\n📄 README.md';
    position: absolute;
    bottom: -25%;
    left: -12%;
    width: 150px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(52, 173, 84, 0.05);
    white-space: pre-line;
    line-height: 1.4;
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
    transform: rotate(3deg);
    padding: 15px;
}

/* Code Editor Lines */
.signup-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 350px;
    height: 200px;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 194, 203, 0.02) 2px,
            rgba(0, 194, 203, 0.02) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 18px,
            rgba(0, 194, 203, 0.03) 18px,
            rgba(0, 194, 203, 0.03) 20px
        );
    border: 1px solid rgba(0, 194, 203, 0.05);
    border-radius: 6px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
    transform: translateX(-50%) rotate(-2deg);
}

/* Animated Code Typing Effect */
@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

.signup-form::after {
    content: 'const website = {\A  title: "Coming Soon",\A  status: "development",\A  features: ["responsive", "modern"],\A  launch: "soon"\A};';
    position: absolute;
    top: -45%;
    left: 50%;
    width: 300px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: rgba(0, 194, 203, 0.04);
    white-space: pre;
    line-height: 1.4;
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
    transform: translateX(-50%) rotate(-2deg);
    padding: 15px;
    overflow: hidden;
    animation: typing 15s infinite;
}

/* Container */
.container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
    padding-bottom: max(2rem, env(keyboard-inset-height, 0px));
}

/* Header */
.header {
    width: 100%;
    max-width: 1200px;
    padding: 1rem 0;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    width: 100%;
    position: relative;
}

/* Hero Section Code Animation */
.hero::before {
    content: 'if (innovation) {\A  return success;\A}';
    position: absolute;
    top: 25%;
    left: 5%;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: rgba(0, 194, 203, 0.35);
    white-space: pre;
    line-height: 1.4;
    animation: codeGlow 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Flowing Binary Code */
.hero::after {
    content: '01001001 01101110 01101110 01101111 01110110 01100001 01110100 01101001 01101111 01101110 01010011 01111001 01110010 01101001 01100001';
    position: absolute;
    bottom: 20%;
    right: 5%;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(0, 194, 203, 0.22);
    letter-spacing: 1px;
    animation: binaryFlow 15s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content > * {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-title {
    font-size: clamp(2.4rem, 6.4vw, 4.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-transparent), var(--primary-transparent-more));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    position: relative;
    white-space: nowrap;
}

/* Glitch effect styles */
.glitch-letter {
    display: inline-block;
    transition: all 0.1s ease;
}

.glitch-letter.glitching {
    color: #00ff41;
    text-shadow: 
        0 0 5px #00ff41,
        0 0 10px #00ff41,
        0 0 15px #00ff41;
    animation: glitch-flicker 0.1s infinite;
}

@keyframes glitch-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Override gradient for glitching letters */
.glitch-letter.glitching {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #00ff41;
    background-clip: unset;
}

.hero-subtitle {
}

.signup-form {
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: rgba(238, 249, 255, 0.85);
    margin-bottom: 3.5rem;
    line-height: 1.65;
    font-weight: 450;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
}

/* Form Styles */
.signup-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    padding: 1.125rem 1.5rem;
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 14px;
    background: rgba(22, 26, 32, 0.7);
    color: var(--light);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 194, 203, 0.25), 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: rgba(22, 26, 32, 0.85);
    transform: translateY(-1px);
}

.email-input::placeholder {
    color: var(--gray);
}

.submit-btn {
    padding: 1.125rem 2.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(0, 194, 203, 0.9) 100%);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 194, 203, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(0, 194, 203, 1.1) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 194, 203, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit-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.6s ease;
}

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

.bell-icon {
    stroke: var(--white);
    opacity: 0.9;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hidden {
    display: none;
}

.submit-btn:active {
    transform: translateY(0);
}

/* Request Button Styling - Modern Outline Design */
.request-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 
        0 10px 30px rgba(0, 194, 203, 0.2),
        0 0 0 1px rgba(0, 194, 203, 0.1),
        inset 0 1px 0 rgba(0, 194, 203, 0.1);
    transform: perspective(1000px) rotateX(0deg);
    z-index: 10;
}

.request-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-transparent) 50%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.request-btn:hover {
    transform: perspective(1000px) rotateX(-10deg) translateY(-8px) scale(1.05);
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 
        0 20px 60px rgba(0, 194, 203, 0.4),
        0 0 0 1px rgba(0, 194, 203, 0.3),
        inset 0 1px 0 rgba(0, 194, 203, 0.2);
}

.request-btn:hover::before {
    opacity: 1;
}

.request-btn:active {
    transform: perspective(1000px) rotateX(-5deg) translateY(-4px) scale(1.02);
    transition: all 0.1s ease;
}

.request-btn .btn-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.request-btn .arrow-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 2px rgba(0, 194, 203, 0.3));
}

.request-btn:hover .arrow-icon {
    stroke: var(--light);
}

.request-btn:hover .arrow-icon {
    transform: translateX(6px) rotate(5deg);
}

.request-btn .btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 50%;
}

.request-btn:hover .btn-glow {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.form-note {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 400;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Footer */
.footer {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 0.5rem 0;
    position: relative;
    margin-top: 0;
    min-height: fit-content;
    transform: translateY(-60px);
}

/* Footer Background Code */
.footer::before {
    content: 'export const utils = {\A  formatDate: (date) => new Intl.DateTimeFormat().format(date),\A  generateId: () => Math.random().toString(36).substr(2, 9),\A  validateEmail: (email) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)\A};|\A\Aconst theme = {\A  colors: { primary: "#00c2cb", secondary: "#34ad54" },\A  spacing: { sm: "0.5rem", md: "1rem", lg: "2rem" }\A};|';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 320px;
    height: 150px;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    line-height: 1.4;
    color: rgba(52, 173, 84, 0.2);
    white-space: pre;
    animation: slideCode 22s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    transform: rotate(1deg);
}

/* Left Side Code Animation */
.footer::after {
    content: 'interface User {\A  id: string;\A  name: string;\A  email: string;\A  role: "admin" | "user";\A}\A\Atype ApiResponse<T> = {\A  data: T;\A  status: number;\A  message: string;\A};\A\Aconst createUser = async (userData: Partial<User>): Promise<ApiResponse<User>> => {\A  return await api.post("/users", userData);\A};';
    position: absolute;
    top: 30%;
    left: 2%;
    width: 280px;
    height: 200px;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    line-height: 1.5;
    color: rgba(0, 194, 203, 0.15);
    white-space: pre;
    animation: fadeCodeIn 19s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    transform: rotate(-3deg);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 3.5rem;
}

.social-link {
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(0, 194, 203, 0.08);
    border: 1px solid rgba(0, 194, 203, 0.2);
    text-decoration: none;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: var(--white);
    background: var(--primary-transparent);
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 194, 203, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer-text {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-transparent);
}

/* Secondary Code Layer */
body::after {
    content: 'import React from "react";\Aimport { useState, useEffect } from "react";\A\Aconst [loading, setLoading] = useState(true);|\Aconst [error, setError] = useState(null);\A\AuseEffect(() => {\A  fetchData()\A    .then(response => setData(response))\A    .catch(err => setError(err))\A    .finally(() => setLoading(false));\A}, []);|\A\Areturn (\A  <div className="container">\A    {loading ? <Spinner /> : <Content />}\A  </div>\A);|';
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.8;
    color: rgba(0, 194, 203, 0.18);
    white-space: pre;
    padding: 40px 20px;
    animation: typeCodeReverse 22s infinite linear;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Top Right Code Snippet */
.header::before {
    content: 'const config = {\A  apiKey: process.env.API_KEY,\A  baseURL: "https://api.service.com",\A  timeout: 5000\A};|\A\Aclass APIClient {\A  constructor(config) {\A    this.config = config;\A  }\A\A  async request(endpoint) {\A    return fetch(`${this.config.baseURL}${endpoint}`);\A  }\A}|';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 280px;
    height: 200px;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    line-height: 1.5;
    color: rgba(52, 173, 84, 0.25);
    white-space: pre;
    animation: slideCode 16s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Center Background Code */
.hero::before {
    content: 'function debounce(func, wait) {\A  let timeout;\A  return function executedFunction(...args) {\A    const later = () => {\A      clearTimeout(timeout);\A      func(...args);\A    };|\A    clearTimeout(timeout);\A    timeout = setTimeout(later, wait);\A  };\A}\A\Aconst handleSearch = debounce((query) => {\A  searchAPI(query).then(updateResults);\A}, 300);|';
    position: absolute;
    top: 40%;
    right: 15%;
    width: 300px;
    height: 180px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1.6;
    color: rgba(0, 194, 203, 0.2);
    white-space: pre;
    animation: fadeCodeIn 14s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    transform: rotate(-2deg);
}

/* Additional Code Snippets */
.container::before {
    content: 'const API_URL = "https://api.example.com";\A\Aasync function getData() {\A  try {\A    const response = await fetch(API_URL);\A    return await response.json();\A  } catch (error) {\A    console.error("Error:", error);\A  }\A}\A\A// Event listeners\Adocument.addEventListener("DOMContentLoaded", init);';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 40%;
    height: 60%;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.7;
    color: rgba(0, 194, 203, 0.25);
    white-space: pre;
    animation: fadeCodeIn 12s infinite ease-in-out;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

/* Terminal Code Effect */
.container::after {
    content: '$ npm install react\A$ npm start\A\A> Server running on port 3000\A> Compiled successfully!\A\A[INFO] Hot reload enabled\A[INFO] Watching for changes...\A\A✓ Build completed\A✓ Tests passed\A✓ Ready for production';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 250px;
    height: 200px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1.5;
    color: rgba(52, 173, 84, 0.25);
    white-space: pre;
    animation: terminalBlink 8s infinite;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

/* Animated Code Background */
.signup-form::before {
    content: 'function validateEmail(email) {\A  const regex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;\A  return regex.test(email);\A}\A\Aconst handleSubmit = (e) => {\A  e.preventDefault();\A  if (validateEmail(email)) {\A    submitForm(email);\A  }\A};';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 200px;
    height: 150px;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    line-height: 1.6;
    color: rgba(0, 194, 203, 0.12);
    white-space: pre;
    animation: fadeCodeIn 15s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    transform: rotate(-5deg);
    overflow: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtleShift {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(2px);
    }
}

/* Responsive Design */
@media (min-width: 769px) {
    .form-group {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }
    
    .submit-btn {
        width: auto !important;
        max-width: 180px !important;
        padding: 1.125rem 1.5rem !important;
        flex-shrink: 0;
    }
    
    .email-input {
        min-width: 280px !important;
        max-width: 400px !important;
    }
}

@media (max-width: 1024px) {
    .hero-subtitle {
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 1.5rem 1rem;
        height: 100vh;
        height: 100dvh;
        overflow: visible;
        width: 100%;
        max-width: 100%;
    }
    
    body {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }
    
    body::before {
        height: 100vh;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    body::after {
        height: 100vh;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        margin-bottom: 1.5rem;
        white-space: normal;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title #glitch-text {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hero-title .loading-dots {
        white-space: nowrap;
        margin-left: 0.5rem;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
    }
    
    .hero-title .loading-dots span {
        vertical-align: middle;
        line-height: 1;
        margin-top: -0.2em;
        display: inline-block;
    }
    
    .hero-subtitle {
        margin-bottom: 2.5rem;
        max-width: 100%;
    }
    
    .form-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .email-input {
        min-width: 100%;
        max-width: 100%;
        padding: 1rem 1.25rem;
    }
    
    .submit-btn {
        width: 100% !important;
        max-width: none !important;
        padding: 1rem 2rem;
    }
    
    .social-icons {
        gap: 1rem;
        margin-top: 3.125rem;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
    
    .container::after {
        width: 150px;
        height: 200px;
        top: 15%;
        right: 2%;
    }
    
    .footer {
        padding: 0.5rem 0 2rem 0;
        transform: translateY(-40px);
    }
    
    .request-btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
        transform: perspective(800px) rotateX(0deg);
        box-shadow: 
            0 8px 25px rgba(0, 194, 203, 0.2),
            0 0 0 1px rgba(0, 194, 203, 0.1),
            inset 0 1px 0 rgba(0, 194, 203, 0.1);
    }
    
    .request-btn:hover {
        transform: perspective(800px) rotateX(-8deg) translateY(-6px) scale(1.03);
        box-shadow: 
            0 15px 45px rgba(0, 194, 203, 0.3),
            0 0 0 1px rgba(0, 194, 203, 0.2),
            inset 0 1px 0 rgba(0, 194, 203, 0.15);
    }
}

@media (max-width: 480px) {
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 1rem 0.75rem;
        height: 100vh;
        height: 100dvh;
        overflow: visible;
        width: 100%;
        max-width: 100%;
    }
    
    body {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }
    
    body::before {
        height: 100vh;
        min-height: 100vh;
        min-height: 100dvh;
        font-size: 12px;
    }
    
    body::after {
        height: 100vh;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-title {
        margin-bottom: 1.25rem;
        white-space: normal;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .hero-title #glitch-text {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }
    
    .hero-title .loading-dots {
        white-space: nowrap;
        margin-left: 0.5rem;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
    }
    
    .hero-title .loading-dots span {
        vertical-align: middle;
        line-height: 1;
        margin-top: -0.25em;
        display: inline-block;
        position: relative;
        top: -0.1em;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .email-input {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .social-icons {
        margin-top: 2.8rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .footer {
        padding: 0.5rem 0 2rem 0;
        transform: translateY(-30px);
    }
    
    .request-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        margin-top: 0.5rem;
        margin-bottom: 0.4rem;
        gap: 0.5rem;
        transform: perspective(600px) rotateX(0deg);
        box-shadow: 
            0 8px 25px rgba(0, 194, 203, 0.2),
            0 0 0 1px rgba(0, 194, 203, 0.1),
            inset 0 1px 0 rgba(0, 194, 203, 0.1);
    }
    
    .request-btn:hover {
        transform: perspective(600px) rotateX(-6deg) translateY(-4px) scale(1.02);
        box-shadow: 
            0 15px 45px rgba(0, 194, 203, 0.3),
            0 0 0 1px rgba(0, 194, 203, 0.2),
            inset 0 1px 0 rgba(0, 194, 203, 0.15);
    }
    
    .request-btn .arrow-icon {
        width: 18px;
        height: 18px;
    }
}