/* ===================================
   ANDROMIDA REBORN - BETTER UI DESIGN
   Color Scheme: Orange, Black, Gray, White
   =================================== */

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Orange Theme */
    --color-primary: #F97316;
    --color-primary-dark: #EA580C;
    --color-secondary: #FB923C;
    --color-accent: #FDBA74;
    --color-gold: #FFA500;
    --color-bg-dark: #0A0A0A;
    --color-bg-darker: #000000;
    --color-bg-card: rgba(26, 26, 26, 0.85);
    --color-text: #FFFFFF;
    --color-text-gray: #D1D5DB;
    --color-border: rgba(249, 115, 22, 0.2);
    
    /* Typography */
    --font-primary: 'Outfit', 'Inter', sans-serif;
    --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(249, 115, 22, 0.4);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===================================
   ADVANCED BACKGROUND
   =================================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(251, 146, 60, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(249, 115, 22, 0.03) 2px,
            rgba(249, 115, 22, 0.03) 4px
        );
    animation: gridMove 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 165, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-gold);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-gold);
}

p {
    font-size: 1.125rem;
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

/* ===================================
   NAVIGATION - MODERN GAMING STYLE
   =================================== */
.gz-header-menu {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.gz-header-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) 0;
}

.gz-header-menu ul li a {
    color: var(--color-text-gray);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gz-header-menu ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.2), transparent);
    transition: left 0.5s;
}

.gz-header-menu ul li a:hover::before {
    left: 100%;
}

.gz-header-menu ul li a:hover,
.gz-header-menu ul li a.active {
    color: var(--color-gold);
    background: rgba(249, 115, 22, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* ===================================
   HERO/BANNER SECTION - REDESIGNED
   =================================== */
.gz-banner-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
}

.gz-banner-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.gz-banner-text {
    text-align: center;
    z-index: 10;
    position: relative;
    animation: fadeInUp 1s ease-out;
    max-width: 900px;
    margin: 0 auto;
}

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

.andro-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing-lg);
    filter: drop-shadow(0 8px 32px rgba(255, 165, 0, 0.5));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-20px) scale(1.05);
    }
}

.gz-banner-text h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
}

.gz-banner-text ul {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: var(--spacing-xl) auto;
    display: grid;
    gap: var(--spacing-md);
}

.gz-banner-text ul li {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    color: var(--color-text);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gz-banner-text ul li::before {
    content: '⚔';
    position: absolute;
    left: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-gold);
    opacity: 0.3;
}

.gz-banner-text ul li:hover {
    transform: translateX(8px);
    border-left-color: var(--color-gold);
    background: rgba(26, 26, 26, 0.9);
    box-shadow: var(--shadow-md);
}

/* ===================================
   BUTTONS - PREMIUM DESIGN
   =================================== */
.gz-all-btn,
.er-consult-btn,
button[type="submit"],
.modern-btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 
        0 4px 20px rgba(249, 115, 22, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.gz-all-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;
    z-index: -1;
}

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

.gz-all-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 32px rgba(249, 115, 22, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #F97316 100%);
}

.gz-all-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Secondary Button Style */
.gz-all-btn.secondary {
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
}

.gz-all-btn.secondary:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    border-color: var(--color-gold);
}

/* ===================================
   CARDS - MODERN DESIGN
   =================================== */
.gz-about-right,
.gz-blog-single,
.demo-card,
.feature-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gz-about-right::before,
.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-gold));
    opacity: 0;
    transition: opacity 0.3s;
}

.gz-about-right:hover::before,
.demo-card:hover::before {
    opacity: 1;
}

.gz-about-right:hover,
.demo-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(249, 115, 22, 0.2);
}

.gz-about-right h3,
.gz-about-right h5 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
}

.gz-about-right p {
    color: var(--color-text-gray);
    line-height: 1.8;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.gz-about-wrapper {
    padding: var(--spacing-2xl) 0;
}

.gz-about-left img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(249, 115, 22, 0.2);
    transition: all 0.5s ease;
    border: 1px solid var(--color-border);
}

.gz-about-left:hover img {
    transform: scale(1.03);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(249, 115, 22, 0.4);
}

.gz-about-box {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.gz-about-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 60%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gz-about-box h3 {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ===================================
   SWIPER NAVIGATION
   =================================== */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(249, 115, 22, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    color: #fff;
}

/* ===================================
   FORMS - MODERN INPUT DESIGN
   =================================== */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--color-text);
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 
        0 0 0 4px rgba(249, 115, 22, 0.1),
        0 4px 20px rgba(249, 115, 22, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: rgba(209, 213, 219, 0.5);
}

/* ===================================
   SCROLLBAR
   =================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
}

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-gold), var(--color-accent));
}

/* ===================================
   DOWNLOAD SECTION
   =================================== */
.gz-newsletter-wrapper {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(0, 0, 0, 0.95) 100%);
    border-top: 2px solid var(--color-border);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.gz-newsletter-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: radial-gradient(ellipse at top, rgba(249, 115, 22, 0.2) 0%, transparent 100%);
}

/* ===================================
   LOADING ANIMATION
   =================================== */
.gz-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gz-spinner img {
    filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.8));
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===================================
   MOBILE RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .gz-header-menu ul {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .gz-banner-text ul li {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .gz-all-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-primary { color: var(--color-primary); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mt-lg { margin-top: var(--spacing-lg); }

/* ===================================
   ACCESSIBILITY
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
