/* ================================================
   Stock Academy - Orange & White Modern Theme
   ================================================ */

:root {
    --primary: #FF6B00;
    --primary-dark: #E65100;
    --primary-light: #FF8A33;
    --primary-glow: rgba(255, 107, 0, 0.3);
    
    --white: #FFFFFF;
    --off-white: #FFF8F4;
    --light-gray: #F5F5F5;
    --gray-100: #F0F0F0;
    --gray-200: #E0E0E0;
    --gray-300: #CCCCCC;
    --gray-400: #999999;
    --gray-500: #666666;
    --gray-600: #444444;
    --gray-700: #333333;
    --gray-800: #222222;
    --dark: #1A1A1A;
    --darker: #0D0D0D;
    
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
}

[data-theme="dark"] {
    --white: #1A1A1A;
    --off-white: #1E1E1E;
    --light-gray: #252525;
    --gray-100: #2A2A2A;
    --gray-200: #333333;
    --gray-300: #444444;
    --gray-400: #888888;
    --gray-500: #AAAAAA;
    --gray-600: #CCCCCC;
    --gray-700: #E0E0E0;
    --gray-800: #F5F5F5;
    --dark: #0D0D0D;
    --darker: #080808;
    --bg-card: #1E1E1E;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
    
    --input-bg: #252525;
    --input-text: #F5F5F5;
    --input-border: #444444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

[data-theme="dark"] body {
    background: var(--dark);
    color: var(--gray-500);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--gray-800);
}

[data-theme="dark"] p {
    color: var(--gray-500);
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span,
.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-600);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: var(--light-gray);
    border: none;
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-600);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

[data-theme="dark"] .theme-toggle {
    background: var(--gray-200);
    color: var(--gray-800);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gray-800);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    opacity: 0.05;
    transform: rotate(-15deg);
}

[data-theme="dark"] .hero::before {
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 550px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

[data-theme="dark"] .hero p {
    color: var(--gray-400);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stat {
    text-align: left;
}

.hero-stat .value {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat .label {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ================================================
   FEATURES SECTION
   ================================================ */

.features {
    padding: 100px 0;
    background: var(--white);
}

[data-theme="dark"] .features {
    background: #0D0D0D;
}

.features-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: #222222;
}

[data-theme="dark"] .features-header h2 {
    color: #FFFFFF;
}

.features-header p {
    color: var(--gray-500);
    font-size: 17px;
}

[data-theme="dark"] .features-header p {
    color: #AAAAAA;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .feature-card {
    background: #1A1A1A;
    border-color: #333333;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--white);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #222222;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}

[data-theme="dark"] .feature-card h3 {
    color: #FFFFFF;
}

[data-theme="dark"] .feature-card p {
    color: #CCCCCC;
}

/* ================================================
   BLOG SECTION
   ================================================ */

.blog-preview {
    padding: 100px 0;
    background: var(--light-gray);
}

[data-theme="dark"] .blog-preview {
    background: var(--gray-100);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

[data-theme="dark"] .blog-card {
    background: var(--bg-card);
    border-color: var(--border);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--gray-800);
}

[data-theme="dark"] .blog-content h3 {
    color: var(--gray-800);
}

.blog-content p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

[data-theme="dark"] .blog-content p {
    color: var(--gray-400);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    gap: 12px;
}

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

.testimonials {
    padding: 100px 0;
    background: var(--white);
}

[data-theme="dark"] .testimonials {
    background: #0D0D0D;
}

.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.testimonials-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: #222222;
}

[data-theme="dark"] .testimonials-header h2 {
    color: #FFFFFF;
}

.testimonials-header p {
    color: var(--gray-500);
    font-size: 17px;
}

[data-theme="dark"] .testimonials-header p {
    color: #AAAAAA;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

[data-theme="dark"] .testimonial-card {
    background: #1A1A1A;
    border-color: #333333;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-card .quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}

[data-theme="dark"] .testimonial-card .quote {
    color: #CCCCCC;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
    color: #222222;
}

[data-theme="dark"] .testimonial-info h4 {
    color: #FFFFFF;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--gray-400);
}

[data-theme="dark"] .testimonial-info p {
    color: #999999;
}

[data-theme="dark"] .testimonials {
    background: var(--dark);
}

.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.testimonials-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

[data-theme="dark"] .testimonials-header h2 {
    color: var(--gray-800);
}

.testimonials-header p {
    color: var(--gray-500);
    font-size: 17px;
}

[data-theme="dark"] .testimonials-header p {
    color: var(--gray-400);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

[data-theme="dark"] .testimonial-card {
    background: var(--bg-card);
    border-color: var(--border);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-card .quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}

[data-theme="dark"] .testimonial-card .quote {
    color: var(--gray-400);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
    color: var(--gray-800);
}

[data-theme="dark"] .testimonial-info h4 {
    color: var(--gray-800);
}

.testimonial-info p {
    font-size: 13px;
    color: var(--gray-400);
}

/* ================================================
   PRICING SECTION
   ================================================ */

.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

.pricing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.pricing-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--white);
}

.pricing-header p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .pricing-card {
    background: var(--bg-card);
}

.pricing-price {
    margin-bottom: 32px;
}

.pricing-price .amount {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary);
}

.pricing-price .period {
    font-size: 16px;
    color: var(--gray-500);
}

[data-theme="dark"] .pricing-price .period {
    color: var(--gray-400);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 15px;
    color: var(--gray-600);
}

[data-theme="dark"] .pricing-features li {
    border-bottom-color: var(--border);
    color: var(--gray-400);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li .check {
    color: var(--success);
    font-weight: 700;
}

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

.cta {
    padding: 100px 0;
    background: var(--gray-800);
    text-align: center;
}

[data-theme="dark"] .cta {
    background: #0A0A0A;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.cta p {
    color: #BBBBBB;
    font-size: 18px;
    margin-bottom: 32px;
}

[data-theme="dark"] .cta p {
    color: #AAAAAA;
}

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

.footer {
    background: var(--darker);
    padding: 60px 0 30px;
}

[data-theme="dark"] .footer {
    background: #050505;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 14px;
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.7;
}

[data-theme="dark"] .footer-brand p {
    color: var(--gray-400);
}

.footer-links h4 {
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 14px;
}

[data-theme="dark"] .footer-links a {
    color: var(--gray-400);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-600);
    font-size: 13px;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--border);
    color: var(--gray-500);
}

/* ================================================
   STOCK TICKER
   ================================================ */

.stock-prices {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .stock-prices {
    background: var(--dark);
    border-bottom-color: var(--border);
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.stock-header h3 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.stock-index {
    display: flex;
    gap: 24px;
}

.index-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 107, 0, 0.2);
}

[data-theme="dark"] .index-item {
    background: var(--gray-100);
    border-color: rgba(255, 107, 0, 0.3);
}

.index-label {
    font-size: 13px;
    color: var(--gray-400);
}

.index-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
}

.index-change {
    font-size: 13px;
}

.stock-ticker-wrapper {
    overflow: hidden;
    position: relative;
}

.stock-ticker {
    display: flex;
    gap: 24px;
    animation: ticker 30s linear infinite;
    width: max-content;
}

.stock-ticker:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stock-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    min-width: 180px;
    transition: var(--transition);
}

[data-theme="dark"] .stock-item {
    background: var(--gray-100);
    border-color: var(--border);
}

.stock-item:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    background: var(--white);
}

.stock-symbol {
    font-weight: 700;
    font-size: 14px;
    color: var(--gray-800);
}

.stock-price {
    font-weight: 700;
    font-size: 14px;
    color: var(--gray-700);
}

.stock-change {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-change.up { color: var(--success); }
.stock-change.down { color: var(--error); }

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ================================================
   CAROUSEL
   ================================================ */

.carousel-section {
    padding: 80px 0;
    background: var(--light-gray);
}

[data-theme="dark"] .carousel-section {
    background: var(--gray-100);
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.carousel-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--white);
}

.carousel-content p {
    font-size: 14px;
    opacity: 0.8;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: var(--gray-800);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary);
    color: var(--white);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
    text-align: center;
    padding: 20px;
}

.carousel-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .carousel-dots .dot {
    background: var(--gray-400);
}

.carousel-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ================================================
   IMAGE SECTION
   ================================================ */

.image-section {
    padding: 80px 0;
    background: var(--white);
}

[data-theme="dark"] .image-section {
    background: var(--dark);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.image-card:hover img {
    transform: scale(1.1);
}

.image-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.image-card:hover .image-card-overlay {
    opacity: 1;
}

.image-card-overlay h4 {
    color: var(--white);
    font-size: 14px;
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   ALERTS
   ================================================ */

.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--info);
    color: var(--info);
}

/* ================================================
   FORMS
   ================================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

[data-theme="dark"] .form-group label {
    color: var(--gray-500);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
    background: var(--gray-100);
    border-color: var(--border);
    color: var(--gray-800);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--gray-400);
}

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

@media (max-width: 1024px) {
    .features-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 16px;
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .hero-stat {
        flex: 1;
        min-width: 100px;
    }
    
    .hero-stat .value {
        font-size: 32px;
    }
    
    .features-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .features-header h2,
    .testimonials-header h2,
    .pricing-header h2,
    .cta h2 {
        font-size: 28px;
    }
    
    .features-header {
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-slide img {
        height: 250px;
    }
    
    .carousel-content {
        padding: 20px;
    }
    
    .carousel-content h3 {
        font-size: 18px;
    }
    
    .pricing-price .amount {
        font-size: 48px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .stock-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stock-ticker-wrapper {
        width: 100%;
    }
    
    .stock-ticker {
        animation: ticker 20s linear infinite;
    }
    
    .index-item {
        padding: 6px 12px;
    }
    
    .index-value {
        font-size: 14px;
    }
}

/* ================================================
   COMPREHENSIVE DARK MODE SUPPORT
   ================================================ */

[data-theme="dark"] .logo {
    color: var(--gray-800);
}

[data-theme="dark"] .nav-links a {
    color: var(--gray-500);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
    color: var(--primary);
}

[data-theme="dark"] .mobile-menu-btn {
    color: var(--gray-800);
}

[data-theme="dark"] .btn-white {
    background: var(--bg-card);
    color: var(--primary);
    border-color: var(--border);
}

[data-theme="dark"] .btn-white:hover {
    background: var(--primary);
    color: var(--white);
}

[data-theme="dark"] .hero-badge {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.3);
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

[data-theme="dark"] .btn-primary {
    color: var(--white);
}

[data-theme="dark"] input[type="checkbox"] {
    accent-color: var(--primary);
}

[data-theme="dark"] select option {
    background: var(--bg-card);
    color: var(--gray-800);
}

[data-theme="dark"] hr {
    border-color: var(--border);
}

[data-theme="dark"] h4 {
    color: var(--gray-800);
}

[data-theme="dark"] .alert {
    background: var(--bg-card);
}

[data-theme="dark"] .pricing-features li {
    color: var(--gray-500);
}

[data-theme="dark"] .alert-success,
[data-theme="dark"] .alert-error,
[data-theme="dark"] .alert-warning,
[data-theme="dark"] .alert-info {
    background-color: var(--bg-card);
}

[data-theme="dark"] .index-label {
    color: var(--gray-500);
}
