/* ============================================
   FOX IPTV PLAYER - MAIN STYLESHEET
   Modern Glassmorphism Design
   ============================================ */

:root {
    /* Primary Colors */
    --primary: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #8fa3f1;
    --secondary: #764ba2;
    --accent: #f093fb;
    
    /* Neutrals */
    --bg-dark: #0f0f1e;
    --bg-darker: #0a0a14;
    --bg-card: #1a1a2e;
    --bg-light: #2d2d44;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #808090;
    
    /* UI Elements */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-light: rgba(255, 255, 255, 0.15);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Typography */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Z-index */
    --z-dropdown: 100;
    --z-modal: 1000;
    --z-navbar: 999;
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

body.light-theme {
    --bg-dark: #f5f5f7;
    --bg-darker: #ffffff;
    --bg-card: #f9f9fb;
    --bg-light: #efeff0;
    --text-primary: #1d1d1f;
    --text-secondary: #5e5e66;
    --text-muted: #a1a1a6;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-light: rgba(0, 0, 0, 0.12);
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: var(--z-navbar);
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) 0;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.logo-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: var(--spacing-sm) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.nav-right {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.lang-select {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-color-light);
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(20deg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    z-index: var(--z-dropdown);
    animation: slideDown 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-md);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-color-light);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 120px var(--spacing-lg) 80px;
    margin-top: 60px;
    overflow: hidden;
}

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

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-text {
    animation: slideInLeft 0.8s ease;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-visual {
    animation: slideInRight 0.8s ease;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    width: 100%;
    /*max-width: 380px;*/
    margin: 0 auto;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
}

.phone-screen {
    /*aspect-ratio: 9 / 19.5;*/
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    border-radius: 20px;
    border: 8px solid rgba(0, 0, 0, 0.9);
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-light);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ============================================
   FEATURES PREVIEW
   ============================================ */

.features-preview {
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-light);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-lg);
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    padding: var(--spacing-lg);
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    font-size: 15px;
    margin-bottom: var(--spacing-lg);
}

.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
    font-weight: 600;
}

.card-link:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: rgba(102, 126, 234, 0.05);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-lg);
}

.security-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.security-icon {
    font-size: 40px;
    margin-bottom: var(--spacing-md);
    display: block;
}

.security-item p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-light);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.testimonial-author {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.05) 100%);
    border-top: 1px solid var(--border-color);
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
    font-family: var(--font-sans);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 24px;
}

.faq-question.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
    padding: var(--spacing-lg);
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    margin: var(--spacing-2xl) var(--spacing-lg);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

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

.footer-section h4 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.footer-section p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-section a {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0;
}

.social-links a:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: var(--spacing-sm);
}

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

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    padding: 100px var(--spacing-lg) var(--spacing-xl);
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
    margin-top: 60px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.page-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: var(--z-modal);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-2xl);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .phone-mockup {
        /*max-width: 280px;*/
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

    .nav-right {
        gap: var(--spacing-md);
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .testimonials-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .cta-section {
        margin: var(--spacing-xl) 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 24px;
        --spacing-2xl: 32px;
    }

    .hero {
        padding: 80px var(--spacing-md) 40px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 32px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .feature-card {
        padding: var(--spacing-lg);
    }

    .modal-content {
        padding: var(--spacing-xl);
    }

    .page-header {
        padding: 80px var(--spacing-md) var(--spacing-xl);
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-section {
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-2xl);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    font-size: 28px;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

/* Alert Messages */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 12px;
    margin-bottom: var(--spacing-xl);
    font-size: 15px;
    font-weight: 500;
    animation: slideInDown 0.4s ease;
}

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

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.info-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-light);
    transform: translateX(5px);
}

.info-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 12px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.info-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.info-content a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Social Section */
.social-section {
    padding: var(--spacing-xl);
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
}

.social-section h4 {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.social-section .social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Form Validation States */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.5);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: rgba(34, 197, 94, 0.5);
}

/* Loading State for Submit Button */
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Responsive Design for Contact Page */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-form-container,
    .contact-info {
        padding: var(--spacing-xl);
    }

    .info-item {
        flex-direction: row;
        gap: var(--spacing-md);
    }

    .info-icon {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .contact-form-container,
    .contact-info {
        padding: var(--spacing-lg);
    }

    .contact-form-container h2,
    .contact-info h2 {
        font-size: 24px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }

    .info-item {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .info-content h4 {
        font-size: 16px;
    }

    .info-content p {
        font-size: 14px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }
}

/* Animation for form elements */
.form-group {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }

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

/* Info items animation */
.info-item {
    animation: fadeInRight 0.5s ease forwards;
    opacity: 0;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Glassmorphism effect enhancement */
.contact-form-container::before,
.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-form-container:hover::before,
.info-item:hover::before {
    opacity: 1;
}

/* Focus visible for accessibility */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
