/*
Theme Name: Trading Education Korea
Theme URI: https://tradingeducationkr.com
Author: Trading Education Team
Author URI: https://tradingeducationkr.com
Description: 교육용 거래 과정 웹사이트 - 한국어 테마
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trading-education-kr
Tags: education, trading, courses, korean
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2332;
    --secondary-color: #2d3748;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-secondary: #0ea5e9;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #1e3a5f 0%, #2d4a6b 100%);
    --gradient-2: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    --gradient-3: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-4: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-5: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.2);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.25);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: 
        radial-gradient(circle at 20% 30%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a5f 100%);
    background-attachment: fixed;
    background-size: 100% 100%, 100% 100%, 100% 100%;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    overflow-y: auto;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 58, 138, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

body > header.site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    z-index: 1000 !important;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles - Enhanced */
.site-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
    color: white;
    padding: 1.25rem 0;
    box-shadow: var(--shadow-lg);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.site-logo {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    letter-spacing: -0.5px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-icon {
    font-size: 2rem;
    display: inline-block;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}

.logo-partner {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-hub {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    position: relative;
}

.logo-hub::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 2px;
    opacity: 0.6;
    animation: logoUnderline 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    50% { 
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes logoUnderline {
    0%, 100% { 
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% { 
        opacity: 1;
        transform: scaleX(1.1);
    }
}

.site-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.site-logo:hover .logo-icon {
    animation: logoFloat 1s ease-in-out infinite;
    transform: scale(1.1);
}

.site-logo:hover .logo-hub::after {
    animation: logoUnderline 1s ease-in-out infinite;
    opacity: 1;
}

.main-nav {
    display: block;
    position: relative;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.main-nav a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}


/* Hero Section - Enhanced */
.hero-section {
    background: var(--gradient-1);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(255,107,107,0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary::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;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Consultation Button */
.btn-consultation {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-consultation::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;
}

.btn-consultation:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-consultation:hover::before {
    width: 300px;
    height: 300px;
}

.btn-consultation:active {
    transform: translateY(-1px);
}

/* Content Sections - Enhanced */
.content-section {
    padding: 5rem 0;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    margin: 2rem 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.content-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.15);
}

.content-section[style*="background:"] {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
}

.content-section[style*="background: linear-gradient"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    backdrop-filter: blur(20px) !important;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* Features Grid - Enhanced */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-card h3,
.feature-card p {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Blog/Articles - Enhanced */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.article-content h3 a {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.article-content p,
.article-meta {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    width: 100%;
    height: 220px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.article-card:hover .article-image::after {
    left: 100%;
}

.article-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.article-content h3 a:hover {
    color: var(--accent-color);
}

.article-meta {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta::before {
    content: '📅';
    font-size: 0.9rem;
}

.article-content p {
    color: #64748b;
    line-height: 1.7;
    flex-grow: 1;
}

/* Footer - Enhanced */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 6rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    border-top: 1px solid var(--border-color);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section .footer-menu {
    list-style: none;
    padding: 0;
}

.footer-section .footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-section .footer-menu a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section .footer-menu a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-bottom a:hover {
    color: white;
}

/* Map Container - Enhanced */
.map-container {
    width: 100%;
    height: 450px;
    margin: 2.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255,255,255,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Form - Enhanced */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(37, 99, 235, 0.4);
}

.contact-form label {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(37, 99, 235, 0.4) !important;
    color: #ffffff !important;
    transition: var(--transition);
}

.contact-form input:hover,
.contact-form textarea:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(37, 99, 235, 0.6) !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2) !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

/* Statistics Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(37, 99, 235, 0.3);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 4px solid var(--accent-color);
    border: 1px solid var(--border-color);
}

.testimonial-card p,
.testimonial-card .author {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ Section */
.faq-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-item h3,
.faq-item p {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-item p {
    color: #64748b;
    line-height: 1.8;
}

/* Decorative Elements */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.1;
    pointer-events: none;
    overflow: hidden;
}

.decorative-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.decorative-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

@media (max-width: 768px) {
    .decorative-circle {
        display: none;
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

/* Prevent horizontal scroll */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

pre, code {
    overflow-x: auto;
    max-width: 100%;
}

/* Thank You Page Specific Styles */
.thank-you-icon {
    position: relative;
    display: inline-block;
}

.thank-you-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border: 3px solid rgba(37, 99, 235, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.thank-you-card {
    transition: all 0.3s ease;
}

.thank-you-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.5) !important;
}

/* Responsive - Enhanced */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
        height: auto;
    }
    
    body {
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .site-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        padding: 0.75rem 0 !important;
        will-change: transform;
        transform: translateZ(0);
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .site-logo {
        padding: 0.4rem 0.75rem !important;
        font-size: 1.3rem !important;
        gap: 0.4rem !important;
    }
    
    .logo-icon {
        font-size: 1.3rem !important;
    }
    
    .logo-partner,
    .logo-hub {
        font-size: 1.2rem !important;
    }
    
    .main-nav {
        width: 100%;
        margin-top: 0;
    }
    
    .main-nav ul {
        flex-direction: row;
        gap: 0.4rem;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 8px;
        width: 100%;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .site-logo {
        padding: 0.4rem 0.75rem;
        font-size: 1.5rem;
        gap: 0.5rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .logo-partner,
    .logo-hub {
        font-size: 1.4rem;
    }
    
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .contact-form {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 2.25rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 2px solid rgba(37, 99, 235, 0.3);
    padding: 1.5rem;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent.hidden {
    animation: slideDown 0.5s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-consent-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-5deg);
    }
    75% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text a {
    color: #4facfe;
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-consent-text a:hover {
    color: #00f2fe;
    text-decoration: none;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-consent-icon {
        font-size: 2rem;
        text-align: center;
    }
    
    .cookie-consent-text {
        text-align: center;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--accent-color);
    color: white;
}

::-moz-selection {
    background: var(--accent-color);
    color: white;
}
