/* Reset ve Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    border: 2px solid var(--dark-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

:root {
    --primary-color: #00f5ff;
    --secondary-color: #ff006e;
    --accent-color: #39ff14;
    --dark-bg: #0a0a0f;
    --dark-surface: #0f0f1a;
    --dark-card: #1a1a2e;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0b0;
    --border-color: #2a2a3e;
    --hover-bg: #252540;
    --border-radius: 25px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --neon-glow: 0 0 10px currentColor, 0 0 20px currentColor;
    --card-shadow: 0 8px 32px rgba(0, 245, 255, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(57, 255, 20, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 40%, rgba(0, 245, 255, 0.08) 0%, transparent 60%);
    animation: float-background 30s ease-in-out infinite;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(0, 245, 255, 0.015) 100px, rgba(0, 245, 255, 0.015) 101px),
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(255, 0, 110, 0.015) 100px, rgba(255, 0, 110, 0.015) 101px);
    pointer-events: none;
    z-index: -1;
}

@keyframes float-background {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, 5%) rotate(120deg); }
    66% { transform: translate(-5%, 3%) rotate(240deg); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 0;
}

/* Decorative Corner Brackets */
.main-content > .container::before,
.main-content > .container::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
    pointer-events: none;
}

.main-content > .container::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    box-shadow: -5px -5px 15px rgba(0, 245, 255, 0.2);
}

.main-content > .container::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    box-shadow: 5px 5px 15px rgba(255, 0, 110, 0.2);
}

.hero-section .container {
    max-width: 100%;
    padding-left: 60px;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    position: relative;
    z-index: 0;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-blob-1 20s ease-in-out infinite;
    pointer-events: none;
}

.main-content::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-blob-2 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float-blob-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

@keyframes float-blob-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 40px) scale(0.9); }
    66% { transform: translate(40px, -40px) scale(1.1); }
}

/* Header Styles */
.main-header {
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 245, 255, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
    position: relative;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(to bottom right, rgba(15, 15, 26, 0.7) 0%, rgba(15, 15, 26, 0.7) 50%, transparent 50%);
    pointer-events: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 4rem;
    position: relative;
    z-index: 10000;
    overflow: visible;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-menu {
    flex: 1;
    justify-content: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.6));
    transition: var(--transition);
}

.nav-brand a:hover {
    filter: drop-shadow(0 0 25px rgba(0, 245, 255, 0.9)) drop-shadow(0 0 35px rgba(255, 0, 110, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 3rem;
}

.nav-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: inline-block;
}

.nav-menu li a:hover {
    background: var(--hover-bg);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color), #0099ff);
    color: var(--dark-bg) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.btn-login::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

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

.btn-login:hover {
    background: linear-gradient(135deg, #00d4ff, var(--primary-color));
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.6), 0 0 60px rgba(0, 245, 255, 0.3);
}

.btn-logout {
    background: linear-gradient(135deg, var(--secondary-color), #cc0055);
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.3);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #ff1a8c, var(--secondary-color));
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.5);
}

.btn-payment {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
    color: var(--dark-bg) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 700;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.4), 0 0 50px rgba(57, 255, 20, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: neon-pulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-payment::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s linear infinite;
}

.btn-payment::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-payment:hover::after {
    opacity: 1;
}

.btn-payment:hover {
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.7), 0 0 80px rgba(57, 255, 20, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    background: linear-gradient(135deg, #ff1a8c, #4dff2a) !important;
    animation: none;
}

@keyframes neon-pulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(255, 0, 110, 0.4), 0 0 50px rgba(57, 255, 20, 0.2);
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 0, 110, 0.7), 0 0 70px rgba(57, 255, 20, 0.4), 0 0 100px rgba(0, 245, 255, 0.2);
    }
}

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

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10001;
    overflow: visible;
}

.username {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.4));
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 10001;
    overflow: visible;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 6px;
}

.lang-btn {
    background: var(--dark-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    z-index: 10001;
}

.lang-btn:hover {
    background: var(--hover-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 245, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 99999;
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.lang-item:hover {
    background: var(--hover-bg);
    color: var(--primary-color);
}

.lang-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    background:
        linear-gradient(135deg, rgba(15, 15, 26, 0.8) 0%, rgba(26, 15, 38, 0.6) 100%),
        radial-gradient(ellipse at 100% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-primary);
    padding: 8rem 2rem 8rem 4rem;
    text-align: left;
    margin: 3rem 2rem 4rem 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(5% 0, 100% 5%, 95% 100%, 0 95%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 60px 60px 0;
    transform: skewY(-2deg);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 0 100px rgba(0, 245, 255, 0.05),
        inset 0 0 50px rgba(255, 0, 110, 0.03);
    z-index: 0;
}

.hero-section > * {
    transform: skewY(2deg);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 245, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 0, 110, 0.3) 0%, transparent 50%);
    border-radius: 50% 30% 60% 40%;
    animation: morph-shape 15s ease-in-out infinite;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.6;
}

@keyframes morph-shape {
    0%, 100% {
        border-radius: 50% 30% 60% 40%;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        border-radius: 30% 60% 40% 50%;
        transform: translate(-50%, -50%) rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 60% 40% 50% 30%;
        transform: translate(-50%, -50%) rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 40% 50% 30% 60%;
        transform: translate(-50%, -50%) rotate(270deg) scale(1.05);
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes rotate-gradient {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10%, 10%) rotate(360deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(0, 245, 255, 0.7)) drop-shadow(0 0 80px rgba(255, 0, 110, 0.4));
    position: relative;
    z-index: 1;
    text-shadow: 0 0 80px rgba(0, 245, 255, 0.3);
    max-width: 800px;
    line-height: 1.2;
    will-change: filter;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

@keyframes float-title {
    0%, 100% { transform: translateY(0) skewY(2deg) scale(1); }
    50% { transform: translateY(-10px) skewY(2deg) scale(1.02); }
}

.hero-section p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-section > div > div {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero Decorative Shapes */
.hero-section .container::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0.15;
    animation: float-diamond 8s ease-in-out infinite;
    filter: blur(2px);
}

.hero-section .container::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.15;
    animation: float-blob-3 10s ease-in-out infinite;
    filter: blur(2px);
}

@keyframes float-diamond {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.1);
    }
}

@keyframes float-blob-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        transform: translate(20px, -20px) rotate(180deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease-out;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

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

.btn:active {
    transform: scale(0.98);
}

/* Additional stability fixes for navigation buttons */
.nav-menu li {
    position: relative;
}

.nav-menu li a,
.nav-menu li .btn-login,
.nav-menu li .btn-logout,
.nav-menu li .btn-payment {
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0099ff);
    color: var(--dark-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0099ff, var(--primary-color));
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.6), 0 5px 25px rgba(0, 245, 255, 0.4);
    border-color: #00d4ff;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #cc0055);
    color: var(--text-primary);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
    font-weight: 700;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff1a8c, var(--secondary-color));
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.6), 0 5px 25px rgba(255, 0, 110, 0.4);
    border-color: #ff3399;
}

/* Form Styles */
.form-container {
    max-width: 550px;
    margin: 3rem auto 3rem 20%;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 3.5rem;
    border-radius: 40px 10px 40px 10px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 245, 255, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(2% 0, 100% 3%, 98% 100%, 0 97%);
    transform: rotate(-1deg);
}

.form-container > * {
    transform: rotate(1deg);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        transparent
    );
    animation: gradient-shift 4s linear infinite;
    background-size: 200% 100%;
}

.form-container::after {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px solid transparent;
    border-image: linear-gradient(135deg,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color)
    ) 1;
    pointer-events: none;
    opacity: 0.3;
    border-radius: 35px 5px 35px 5px;
    animation: border-glow 4s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(42, 42, 62, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow:
        0 0 30px rgba(0, 245, 255, 0.5),
        0 0 60px rgba(0, 245, 255, 0.2),
        inset 0 0 20px rgba(0, 245, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(0, 245, 255, 0.05);
    transform: translate3d(0, -1px, 0);
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #0099ff);
    color: var(--dark-bg);
    padding: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-submit:hover::before {
    width: 300px;
    height: 300px;
}

.form-submit:hover {
    background: linear-gradient(135deg, #00d4ff, var(--primary-color));
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.6), 0 5px 30px rgba(0, 245, 255, 0.4);
    border-color: #00d4ff;
}

/* Alert Messages */
.alert {
    padding: 1.5rem 2rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
    box-shadow: 0 0 15px currentColor;
}

.alert-success {
    background: rgba(57, 255, 20, 0.15);
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.alert-error {
    background: rgba(255, 0, 110, 0.15);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Download Cards */
.download-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr 1fr;
    gap: 2.5rem;
    margin-top: 5rem;
    perspective: 1000px;
    position: relative;
    z-index: 0;
}

.download-grid::before {
    content: '';
    position: absolute;
    top: -3rem;
    left: -5%;
    width: 110%;
    height: calc(100% + 6rem);
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(0, 245, 255, 0.03) 50px, rgba(0, 245, 255, 0.03) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255, 0, 110, 0.03) 50px, rgba(255, 0, 110, 0.03) 51px);
    pointer-events: none;
    z-index: -1;
}

.download-grid::after {
    content: '';
    position: absolute;
    top: -2rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

.download-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 245, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 21px);
    opacity: 1;
    transition: opacity 0.5s;
}

.download-card:hover::before {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 245, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.2) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.04) 20px, rgba(255, 255, 255, 0.04) 21px);
}

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

.download-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-out;
    border-radius: 50%;
    pointer-events: none;
}

.download-card:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
}

.download-card:hover {
    transform: translate3d(0, -12px, 0) rotateX(3deg) rotateY(3deg) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(0, 245, 255, 0.4),
        0 0 100px rgba(255, 0, 110, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.5);
}

.download-card:nth-child(1) {
    transform: translate3d(0, -30px, 0) rotate(-2deg) scale(0.95);
    border-radius: 30px 60px 30px 60px;
    grid-row: span 1;
}

.download-card:nth-child(1):hover {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(0, 245, 255, 0.5);
    transform: translate3d(0, -42px, 0) rotateX(3deg) rotateY(3deg) rotate(-2deg) scale(1.03);
}

.download-card:nth-child(2) {
    transform: translate3d(0, 40px, 0) rotate(2deg) scale(1.05);
    border-radius: 60px 30px 60px 30px;
    grid-row: span 1;
    padding: 4rem 2.5rem;
}

.download-card:nth-child(2):hover {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(255, 0, 110, 0.5);
    transform: translate3d(0, 28px, 0) rotateX(3deg) rotateY(3deg) rotate(2deg) scale(1.07);
}

.download-card:nth-child(3) {
    transform: translate3d(0, -10px, 0) rotate(-1deg);
    border-radius: 30px 30px 60px 60px;
    grid-row: span 1;
}

.download-card:nth-child(3):hover {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(57, 255, 20, 0.5);
    transform: translate3d(0, -22px, 0) rotateX(3deg) rotateY(3deg) rotate(-1deg) scale(1.02);
}

.download-card h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-size: 2rem;
    font-weight: 800;
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.6));
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.download-card h3::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50% 40% 60% 50%;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1) rotate(0deg);
        border-radius: 50% 40% 60% 50%;
    }
    50% {
        transform: translateX(-50%) scale(1.1) rotate(180deg);
        border-radius: 40% 60% 50% 40%;
    }
}

.download-card:nth-child(1) h3::before {
    background: linear-gradient(135deg, var(--primary-color), #0099ff);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.download-card:nth-child(2) h3::before {
    background: linear-gradient(135deg, var(--secondary-color), #ff3399);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.download-card:nth-child(3) h3::before {
    background: linear-gradient(135deg, var(--accent-color), #7cff5c);
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
}

.download-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 10px;
}

.download-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.download-card .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer Styles */
.main-footer {
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    margin-top: 8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
    padding-top: 6rem;
    position: relative;
    transform: skewY(-1deg);
}

.main-footer > * {
    transform: skewY(1deg);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color)
    );
    background-size: 200% 100%;
    animation: gradient-shift 5s linear infinite;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.4));
}

.footer-section p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    background: var(--dark-card);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.social-link:hover::before {
    opacity: 0.1;
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.4), 0 0 50px rgba(255, 0, 110, 0.2);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-surface);
        flex-direction: column;
        padding: 1rem;
        display: none;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-menu {
        justify-content: center;
    }

    .hero-section {
        clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
        padding: 4rem 1.5rem;
        margin: 2rem 1rem;
        border-radius: 30px;
        text-align: center;
        transform: skewY(0);
    }

    .hero-section > * {
        transform: skewY(0);
    }

    .hero-section .container {
        padding-left: 20px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .hero-section p {
        font-size: 1.1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 3rem;
    }

    .download-card {
        transform: translateY(0) rotate(0) scale(1) !important;
        padding: 2.5rem 2rem !important;
        border-radius: 30px !important;
    }

    .download-card:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }

    .download-card h3::before {
        top: -50px;
        width: 50px;
        height: 50px;
    }

    .main-content > .container::before,
    .main-content > .container::after {
        display: none;
    }

    .form-container {
        padding: 2.5rem;
        margin: 2rem 1rem;
        transform: rotate(0);
        border-radius: 30px;
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
    }

    .form-container > * {
        transform: rotate(0);
    }

    .main-header::after {
        display: block;
    }

    .container {
        padding: 0 20px;
    }
}
