:root {
    --primary-bg: #0D0F21;
    --secondary-bg: #171A35;
    --card-bg: rgba(23, 26, 53, 0.8);
    --primary-text: #E0E0E0;
    --secondary-text: #A0A0C0;
    --accent-color: #8E2DE2;
    --accent-gradient: linear-gradient(90deg, #8E2DE2 0%, #4A00E0 100%);
    --accent-gradient-hover: linear-gradient(90deg, #9d3df0 0%, #5a14f5 100%);
    --secondary-accent: #00E1FF;
    --heading-font: 'Exo 2', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --border-radius: 16px;
    --card-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
    --section-padding: 100px 0;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: var(--body-font);
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.7;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* ============================================= */
/* SKELETON LOADING STYLES */
/* ============================================= */
.skeleton {
    background-color: #1a1d3f;
    background-image: linear-gradient(90deg, #1a1d3f 0%, #23275a 50%, #1a1d3f 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: skeleton-loading 1.5s infinite;
    overflow: hidden;
    position: relative;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-header {
    height: 80px;
    margin-bottom: 130px;
    margin-top: -90px;
}

.skeleton-title {
    height: 400px;
    width: 56%;
    margin: 0 auto 20px;
}

.skeleton-subtitle {
    height: 25px;
    width: 70%;
    margin: 0 auto 40px;
}

.skeleton-ticker {
    height: 95px;
    width: 100%;
    margin-top: 80px;
    margin-bottom: 80px;
}

.skeleton-card {
    height: 250px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.skeleton-form {
    height: 400px;
    border-radius: 16px;
}

.skeleton-stat {
    height: 100px;
    margin-bottom: 20px;
}

.skeleton-feature {
    height: 180px;
    margin-bottom: 30px;
}

.skeleton-step {
    height: 300px;
    margin-bottom: 30px;
}

.skeleton-pricing {
    height: 500px;
    margin-bottom: 30px;
}

.skeleton-cta {
    height: 60px;
    width: 250px;
    margin: 0 auto;
}

.skeleton-active main > section {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

#skeleton-container {
    padding: 20px;
    max-width: 1200px;
    margin: 100px auto 0;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

#skeleton-container.hidden {
    display: none;
}

/* ============================================= */
/* HEADER & NAVIGATION */
/* ============================================= */
#header {
    background-color: rgba(13, 15, 33, 0.9);
    backdrop-filter: blur(12px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(142, 45, 226, 0.1);
}

#header.scrolled {
    background-color: rgba(23, 26, 53, 0.95);
    padding: 0.8rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
    margin-right: 12px;
    vertical-align: middle;
    transition: var(--transition);
}

.logo-link {
    font-family: var(--heading-font);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-link img {
    border-radius: 10px;
}

#header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    z-index: 1001;
    background-color: rgba(13, 15, 33, 0.9);
}

#header.scrolled nav ul {
    background: var(--secondary-bg);
}

#header nav ul li {
    margin-left: 30px;
}

#header nav ul li a {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
    font-size: 1.05rem;
    z-index: 10000;
    white-space: nowrap;
}

#header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -3px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.4s ease-out;
    border-radius: 3px;
}

#header nav ul li a:hover, 
#header nav ul li a.active {
    color: var(--secondary-accent);
}

#header nav ul li a:hover::after, 
#header nav ul li a.active::after {
    width: 100%;
}

.cta-button {
    padding: 12px 28px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: var(--heading-font);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(142, 45, 226, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(142, 45, 226, 0.5);
    background: var(--accent-gradient-hover);
    transition: transform 0.3s ease;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 1rem;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition);
    padding: 10px;
    margin-left: 15px;
}

.mobile-nav-toggle i {
    display: block;
    width: 24px;
    height: 24px;
}

.mobile-nav-toggle:hover {
    color: var(--secondary-accent);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================= */
/* HERO SECTION */
/* ============================================= */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('/hero-background.png') no-repeat center center/cover;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 15, 33, 0.85), rgba(26, 28, 60, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

#hero h1 {
    font-family: var(--heading-font);
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#hero h1 span {
    display: inline-block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px rgba(142, 45, 226, 0.5); }
    100% { text-shadow: 0 0 25px rgba(142, 45, 226, 0.8), 0 0 50px rgba(74, 0, 224, 0.6); }
}

#hero .subtitle {
    font-size: 1.4rem;
    color: var(--primary-text);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    font-weight: 300;
}

.hero-cta {
    padding: 18px 45px;
    font-size: 1.2rem;
    border-radius: 60px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hero-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-cta:hover:before {
    transform: translateX(100%);
}

/* ============================================= */
/* SECTION GENERAL STYLES */
/* ============================================= */
.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    color: var(--primary-text);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-text);
    font-size: 1.2rem;
    max-width: 700px;
    margin: -50px auto 60px;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-color), rgba(142, 45, 226, 0.7));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

/* ============================================= */
/* LANGUAGE DROPDOWN */
/* ============================================= */
.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.language-toggle {
    background: rgba(142, 45, 226, 0.1);
    border: 1px solid rgba(142, 45, 226, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    color: var(--primary-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.language-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.15), transparent);
    transition: left 0.5s ease;
}

.language-toggle:hover::before {
    left: 100%;
}

.language-toggle:hover {
    background: rgba(142, 45, 226, 0.15);
    border-color: rgba(142, 45, 226, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 45, 226, 0.2);
}

.language-toggle.active {
    background: rgba(142, 45, 226, 0.2);
    border-color: rgba(142, 45, 226, 0.4);
}

.language-toggle i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.language-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.current-lang {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    color: var(--secondary-accent);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--secondary-bg);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    display: none;
    min-width: 140px;
    z-index: 1000;
    border: 1px solid rgba(142, 45, 226, 0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.language-options.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.language-options::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: var(--secondary-bg);
    transform: rotate(45deg);
    border-top: 1px solid rgba(142, 45, 226, 0.2);
    border-left: 1px solid rgba(142, 45, 226, 0.2);
}

.language-options button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-bottom: 1px solid rgba(142, 45, 226, 0.1);
}

.language-options button:last-child {
    border-bottom: none;
}

.language-options button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.language-options button:hover {
    background: rgba(142, 45, 226, 0.1);
    padding-left: 25px;
}

.language-options button:hover::before {
    transform: scaleX(1);
}

.language-options button.active {
    background: rgba(142, 45, 226, 0.15);
    color: var(--secondary-accent);
    padding-left: 25px;
}

.language-options button.active::before {
    transform: scaleX(1);
}

/* ============================================= */
/* GALLERY STYLES */
/* ============================================= */
.cg-gallery-container {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    background: linear-gradient(135deg, rgba(13, 15, 33, 0.9) 0%, rgba(30, 35, 65, 0.8) 100%);
    margin: 40px 0;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(142, 45, 226, 0.2);
}

.cg-gallery {
    display: flex;
    gap: 25px;
    padding: 0 30px;
    width: max-content;
    animation: scrollGallery 40s linear infinite;
}

.cg-gallery:hover {
    animation-play-state: paused;
}

.cg-image {
    flex: 0 0 auto;
    width: 320px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.cg-image:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(142, 45, 226, 0.4);
}

.cg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 15, 33, 0.9), transparent);
    padding: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cg-image:hover .image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.image-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cg-gallery-title {
    text-align: center;
    color: #E0E0E0;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.cg-gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8E2DE2, #4A00E0);
    border-radius: 3px;
}

.cg-gallery-container::before,
.cg-gallery-container::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 80px;
    z-index: 3;
    pointer-events: none;
}

.cg-gallery-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(13, 15, 33, 1), rgba(13, 15, 33, 0));
}

.cg-gallery-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(13, 15, 33, 1), rgba(13, 15, 33, 0));
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 9 - 25px * 9));
    }
}

.gallery-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.gallery-control {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.gallery-control:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 15, 33, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #8E2DE2;
}

.modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 15, 33, 0.8);
    color: #fff;
    padding: 15px;
    text-align: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* ============================================= */
/* STATS SECTION */
/* ============================================= */
.stats-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(13, 15, 33, 0.9), rgba(23, 26, 53, 0.95));
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      linear-gradient(135deg, rgba(142, 45, 226, 0.05) 25%, transparent 25%) -50px 0,
      linear-gradient(225deg, rgba(142, 45, 226, 0.05) 25%, transparent 25%) -50px 0,
      linear-gradient(315deg, rgba(142, 45, 226, 0.05) 25%, transparent 25%),
      linear-gradient(45deg, rgba(142, 45, 226, 0.05) 25%, transparent 25%);
    background-size: 100px 100px;
    opacity: 0.05;
    z-index: 0;
}

.sentiment-card {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(142, 45, 226, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: var(--transition);
}

.sentiment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.05), transparent);
    transition: left 0.8s ease;
}

.sentiment-card:hover::before {
    left: 100%;
}

.sentiment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(142, 45, 226, 0.4);
    border-color: rgba(142, 45, 226, 0.25);
}

.sentiment-header {
    padding: 25px 30px;
    background: rgba(142, 45, 226, 0.05);
    border-bottom: 1px solid rgba(142, 45, 226, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.sentiment-header h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-text);
    margin: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sentiment-source {
    font-size: 0.9rem;
    color: var(--secondary-text);
    background: rgba(142, 45, 226, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 500;
}

.sentiment-content {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.sentiment-visual {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-right: 1px solid rgba(142, 45, 226, 0.1);
    position: relative;
}

.sentiment-image-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.sentiment-image {
    width: 100%;
    display: block;
    transition: var(--transition);
    border-radius: 12px;
}

.sentiment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(13, 15, 33, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(10px);
}

.sentiment-image-link:hover .sentiment-overlay {
    opacity: 1;
    transform: translateY(0);
}

.sentiment-image-link:hover .sentiment-image {
    transform: scale(1.03);
}

.sentiment-indicator {
    margin-top: 25px;
    padding: 15px;
    background: rgba(23, 26, 53, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(142, 45, 226, 0.1);
}

.sentiment-stats {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.stat-item {
    background: rgba(23, 26, 53, 0.5);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(142, 45, 226, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    background: rgba(142, 45, 226, 0.1);
    transform: translateY(-5px);
    border-color: rgba(142, 45, 226, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(142, 45, 226, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.stat-item:hover .stat-icon {
    background: rgba(142, 45, 226, 0.2);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.3);
}

.stat-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.stat-value {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    line-height: 1;
    transition: var(--transition);
}

.stat-item:hover .stat-value {
    text-shadow: 0 2px 10px rgba(142, 45, 226, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-weight: 500;
    transition: var(--transition);
}

.stat-item:hover .stat-label {
    color: var(--primary-text);
}

.stat-glance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: auto;
}

.glance-item {
    background: rgba(23, 26, 53, 0.5);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--secondary-text);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.glance-item:hover::before {
    left: 100%;
}

.glance-item:hover {
    background: rgba(142, 45, 226, 0.1);
    transform: translateY(-3px);
    border: 1px solid rgba(142, 45, 226, 0.2);
}

.glance-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.glance-item:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(142, 45, 226, 0.4));
}

/* ============================================= */
/* FEATURES SECTION */
/* ============================================= */
#features {
    background-color: var(--primary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(142, 45, 226, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(142, 45, 226, 0.35);
    border-color: rgba(142, 45, 226, 0.3);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    transition: var(--transition);
    display: inline-block;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(142, 45, 226, 0.4));
}

.feature-card h3 {
    font-family: var(--heading-font);
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: var(--primary-text);
    position: relative;
    z-index: 2;
}

.feature-card p {
    font-size: 1.05rem;
    color: var(--secondary-text);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* ============================================= */
/* HOW IT WORKS SECTION */
/* ============================================= */
#how-it-works {
    background-color: var(--secondary-bg);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
}

.step-card {
    background: var(--card-bg);
    padding: 80px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 225, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 225, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 225, 255, 0.25);
    border-color: rgba(0, 225, 255, 0.3);
}

.step-number {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
    transition: var(--transition);
    z-index: 2;
}

.step-card:hover .step-number {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(142, 45, 226, 0.6);
}

.step-icon {
    font-size: 3rem;
    margin: 20px 0 25px;
    color: var(--secondary-accent);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.step-card:hover .step-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(0, 225, 255, 0.4));
}

.step-card h3 {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-text);
    position: relative;
    z-index: 2;
}

.step-card p {
    font-size: 1.05rem;
    color: var(--secondary-text);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* ============================================= */
/* WHY US SECTION */
/* ============================================= */
#why-us {
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

#why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(142, 45, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 0, 224, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.why-us-container {
    position: relative;
    z-index: 1;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.why-us-item {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(142, 45, 226, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-us-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.why-us-item:hover::before {
    left: 100%;
}

.why-us-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(142, 45, 226, 0.35);
    border-color: rgba(142, 45, 226, 0.3);
}

.why-us-item i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    padding: 25px;
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.1), rgba(74, 0, 224, 0.1));
    border-radius: 20px;
    display: inline-block;
    line-height: 1;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.why-us-item:hover i {
    transform: rotate(5deg) scale(1.1);
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.2), rgba(74, 0, 224, 0.2));
    box-shadow: 0 10px 25px rgba(142, 45, 226, 0.3);
}

.why-us-item h3 {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary-text);
    position: relative;
    z-index: 2;
}

.why-us-item p {
    font-size: 1.05rem;
    color: var(--secondary-text);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.why-us-hooks {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(142, 45, 226, 0.1);
    position: relative;
}

.why-us-hooks::before {
    content: 'Successful Goals';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-bg);
    color: var(--secondary-accent);
    padding: 0 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.hook-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(142, 45, 226, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.hook-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hook-item:hover::before {
    opacity: 1;
}

.hook-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(142, 45, 226, 0.25);
    border-color: rgba(142, 45, 226, 0.2);
}

.hook-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 5px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(142, 45, 226, 0.3));
    transition: var(--transition);
}

.hook-item:hover .hook-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(142, 45, 226, 0.4));
}

.hook-content {
    flex: 1;
}

.hook-content h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-text);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.hook-item:hover .hook-content h3 {
    text-shadow: 0 2px 10px rgba(142, 45, 226, 0.3);
}

.hook-content p {
    color: var(--secondary-text);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    position: relative;
    padding-left: 15px;
}

.hook-content p::before {
    position: absolute;
    left: 0;
    top: -5px;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.7;
}

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

.why-us-item,
.hook-item {
    animation: fadeInUp 0.6s ease forwards;
}

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

.hook-item:nth-child(1) { animation-delay: 0.4s; }
.hook-item:nth-child(2) { animation-delay: 0.5s; }
.hook-item:nth-child(3) { animation-delay: 0.6s; }
.hook-item:nth-child(4) { animation-delay: 0.7s; }
.hook-item:nth-child(5) { animation-delay: 0.8s; }
.hook-item:nth-child(6) { animation-delay: 0.9s; }

/* ============================================= */
/* CONTACT/CTA SECTION */
/* ============================================= */
#contact {
    background: var(--accent-gradient);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/hero-background.png') no-repeat center center/cover;
    opacity: 0.1;
}
    
#contact h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#contact p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

#contact .cta-button {
    background: #fff;
    color: var(--accent-color);
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    font-size: 1.2rem;
    padding: 18px 50px;
    border-radius: 60px;
    position: relative;
    z-index: 2;
}

#contact .cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

/* ============================================= */
/* PRICING SECTION */
/* ============================================= */
#pricing {
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

#pricing:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(142, 45, 226, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--card-bg);
    padding: 0;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(142, 45, 226, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(142, 45, 226, 0.35);
    border-color: rgba(142, 45, 226, 0.3);
}

.plan-header {
    padding: 30px 30px 20px;
    background: rgba(142, 45, 226, 0.05);
    border-bottom: 1px solid rgba(142, 45, 226, 0.1);
    position: relative;
    z-index: 2;
}

.pricing-card:hover .plan-header {
    background: rgba(142, 45, 226, 0.08);
}

.plan-name {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-text);
    position: relative;
    z-index: 2;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 30px 0;
    padding: 0 30px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    color: var(--secondary-text);
    position: relative;
    padding-left: 30px;
    transition: var(--transition);
}

.pricing-card:hover .plan-features li {
    transform: translateX(5px);
}

.plan-features li i {
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.pricing-card:hover .plan-features li i {
    transform: scale(1.2);
}

.plan-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(142, 45, 226, 0.2);
    color: var(--secondary-accent);
    padding: 5px 15px;
    border-bottom-right-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-notes {
    text-align: center;
    margin-top: 40px;
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.pricing-notes i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* ============================================= */
/* NEWSLETTER SECTION */
/* ============================================= */
#newsletter {
    background-color: var(--secondary-bg);
    background-image: 
        radial-gradient(circle at 25% 30%, rgba(142, 45, 226, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 75% 70%, rgba(65, 105, 225, 0.15) 0%, transparent 40%),
        linear-gradient(to bottom, rgba(23, 26, 53, 0.95), rgba(23, 26, 53, 0.98));
    background-size: cover;
    border-top: 1px solid rgba(142, 45, 226, 0.3);
    border-bottom: 1px solid rgba(142, 45, 226, 0.3);
    position: relative;
    overflow: hidden;
}

#newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.05) 0%, transparent 70%);
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.newsletter-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.signup-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(15, 18, 45, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(142, 45, 226, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(142, 45, 226, 0.1);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpForm 1s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeInUpForm {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-form:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.25),
        inset 0 0 20px rgba(142, 45, 226, 0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group.error::after {
    content: "✖";
    position: absolute;
    right: 0;
    bottom: 10px;
    color: #dc3545;
    font-size: 1.2rem;
}

.form-group.valid input {
    border-bottom-color: #28a745 !important;
}

.form-group.valid .form-underline {
    background: #28a745 !important;
    width: 100% !important;
}

.form-group.valid label {
    color: #28a745 !important;
}

.form-group.valid::after {
    content: "✓";
    position: absolute;
    right: 0;
    bottom: 10px;
    color: #28a745;
    font-size: 1.2rem;
}

.form-group.error .error-message {
    display: block;
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    animation: fadeIn 0.3s ease;
}

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

.form-group input {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--primary-text);
    border-bottom: 1px solid rgba(142, 45, 226, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
    position: relative;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: transparent;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 0.85rem;
    color: var(--secondary-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    opacity: 0.8;
    font-weight: 500;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -0.8rem;
    font-size: 0.75rem;
    opacity: 1;
    color: var(--accent-color);
}

.form-group.error input {
    border-bottom-color: #dc3545 !important;
}

.form-group.error .form-underline {
    background: #dc3545 !important;
    width: 100% !important;
}

.form-group.error label {
    color: #dc3545 !important;
}

.form-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), rgba(142, 45, 226, 0.7));
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.form-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(142, 45, 226, 0.1);
    transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 0;
    border-radius: 4px 4px 0 0;
}

.form-group input:focus ~ .form-underline {
    width: 100%;
}

.form-group input:focus ~ .form-highlight {
    height: calc(100% - 2px);
}

.form-footer {
    text-align: center;
}

.cta-button.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.1rem 3rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: linear-gradient(90deg, var(--accent-color), rgba(142, 45, 226, 0.8));
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(142, 45, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button.form-submit:hover::before {
    left: 100%;
}

.cta-button.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(142, 45, 226, 0.4);
}

.btn-icon {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
}

.cta-button.form-submit:hover .btn-icon {
    transform: translateX(4px);
}

.form-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--secondary-text);
    opacity: 0.8;
    line-height: 1.6;
}

.form-disclaimer a {
    color: var(--secondary-accent);
    text-decoration: none;
    border-bottom: 1px dotted rgba(142, 45, 226, 0.5);
    transition: all 0.3s ease;
}

.form-disclaimer a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.form-message {
    display: none;
    text-align: center;
    padding: 1.5rem;
    margin: 2rem auto 0;
    max-width: 720px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    background: rgba(15, 18, 45, 0.8);
    border: 1px solid rgba(142, 45, 226, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-message.success {
    color: #4BB543;
    background: rgba(75, 181, 67, 0.1);
    border-color: rgba(75, 181, 67, 0.3);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.success-animation {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #4BB543;
    text-align: center;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    display: none;
}

.success-animation i {
    margin-right: 0.5rem;
}

/* ============================================= */
/* PDF CHAT STYLES */
/* ============================================= */
.pdf-chat-input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 12px;
    align-items: center;
    background: var(--secondary-bg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    flex-direction: row;
}

.pdf-chat-send {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
    order: -1; /* This moves the send button to the left */
}

.pdf-chat-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid rgba(142, 45, 226, 0.3);
    border-radius: 25px;
    background: rgba(23, 26, 53, 0.8);
    color: var(--primary-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 50px;
}

.pdf-chat-container.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.pdf-chat-header {
    background: var(--accent-gradient);
    color: white;
    padding: 15px 20px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.pdf-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pdf-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pdf-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pdf-chat-message {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    line-height: 1.4;
    position: relative;
    animation: messageSlideIn 0.3s ease;
}

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

.pdf-chat-message.user {
    background: var(--accent-gradient);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.pdf-chat-message.bot {
    background: rgba(142, 45, 226, 0.1);
    color: var(--primary-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(142, 45, 226, 0.2);
}

/* FIXED VERSION */
.pdf-chat-input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 12px;
    align-items: center;
    background: var(--secondary-bg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.pdf-chat-input-container input {
    flex: 1;
    background: rgba(30, 35, 65, 0.5);
    border: 1px solid rgba(142, 45, 226, 0.3);
    border-radius: 20px;
    padding: 12px 18px;
    color: white;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pdf-chat-input-container input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(142, 45, 226, 0.2);
}

.pdf-chat-input-container button {
    background: var(--accent-gradient);
    border: none;
    border-radius: 20px;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
}

.pdf-chat-input-container button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.4);
}

.pdf-chat-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid rgba(142, 45, 226, 0.3);
    border-radius: 25px;
    background: rgba(23, 26, 53, 0.8);
    color: var(--primary-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 50px;
}

.pdf-chat-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(142, 45, 226, 0.2);
    background: rgba(23, 26, 53, 0.9);
}

.pdf-chat-input::placeholder {
    color: var(--secondary-text);
    opacity: 0.8;
}

.pdf-chat-send {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
}

.pdf-chat-send:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(142, 45, 226, 0.4);
}

.pdf-chat-send:active {
    transform: scale(0.95);
}

.pdf-chat-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pdf-chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(142, 45, 226, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pdf-chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(142, 45, 226, 0.6);
}

/* Add this to your existing typing indicator styles */
.typing {
    background: rgba(142, 45, 226, 0.1) !important;
    border: 1px solid rgba(142, 45, 226, 0.2) !important;
}

.typing-dots {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-text);
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================= */
/* MODAL STYLES */
/* ============================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 15, 33, 0.95);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #1e2341 0%, #0D0F21 100%);
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(142, 45, 226, 0.3),
        0 0 30px rgba(142, 45, 226, 0.2);
    width: 90%;
    max-width: 480px;
    animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(142, 45, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 0, 224, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

.modal-header {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    font-size: 1.2rem;
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    color: #E0E0E0;
    position: relative;
    z-index: 1;
}

.modal-body p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.email-display {
    background: rgba(142, 45, 226, 0.1);
    border: 1px solid rgba(142, 45, 226, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.email-display:hover {
    background: rgba(142, 45, 226, 0.15);
    border-color: rgba(142, 45, 226, 0.5);
}

.email-display i {
    color: #8E2DE2;
    font-size: 1.3rem;
}

#email-to-verify {
    color: #E0E0E0;
    font-weight: 600;
    word-break: break-all;
    flex: 1;
}

.email-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    color: #ffc107;
    font-size: 0.95rem;
    line-height: 1.5;
}

.email-warning i {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.modal-footer .cta-button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    min-width: 140px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-footer .cta-button.secondary {
    background: transparent;
    border: 1px solid rgba(142, 45, 226, 0.5);
    color: #E0E0E0;
    position: relative;
    overflow: hidden;
}

.modal-footer .cta-button.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.modal-footer .cta-button.secondary:hover::before {
    left: 100%;
}

.modal-footer .cta-button.secondary:hover {
    background: rgba(142, 45, 226, 0.1);
    border-color: #8E2DE2;
    transform: translateY(-2px);
}

.modal-footer .cta-button:not(.secondary):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(142, 45, 226, 0.4);
}

.modal.success .modal-content {
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
footer {
    background: #0A0C1A;
    padding: 70px 0 30px;
    position: relative;
    border-top: 1px solid rgba(142, 45, 226, 0.1);
    text-align: center;
}

.footer-links {
    margin: 0.5rem 0;
    text-align: center;
}

.footer-links a {
    color: var(--secondary-text);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    font-size: 1rem;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--secondary-text);
    font-size: 1rem;
}

/* ============================================= */
/* BACK TO TOP */
/* ============================================= */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(142, 45, 226, 0.4);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(142, 45, 226, 0.6);
}

/* ============================================= */
/* PRELOADER */
/* ============================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(142, 45, 226, 0.3);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============================================= */
/* BODY STATES */
/* ============================================= */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

body.nav-open {
    overflow: hidden;
}

/* ============================================= */
/* MOBILE & SMALL DEVICE STYLES (768px and below) */
/* ============================================= */
@media (max-width: 768px) {
    /* Global Adjustments */
    .pdf-chat-input-container {
        padding: 18px 15px;
        gap: 10px;
        border-radius: 0 0 20px 20px;
    }
    
    .pdf-chat-send {
        width: 54px;
        height: 54px;
        font-size: 1.2rem;
        order: -1; /* Ensure it stays on left in mobile too */
    }
    
    .pdf-chat-input {
        flex: 0.5; /* Half width on mobile too */
        padding: 16px 20px;
        font-size: 1.05rem;
        min-height: 54px;
        border-radius: 27px;
    }

    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    /* Header & Navigation */
    #header {
        padding: 0.8rem 0;
    }
    
    #header.scrolled {
        padding: 0.6rem 0;
    }
    
    .logo {
        height: 35px;
    }
    
    .logo-link {
        font-size: 1.6rem;
    }
    
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(142, 45, 226, 0.1);
        border-radius: 8px;
    }
    
    #header nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--secondary-bg);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 2rem 2rem;
        margin: 0;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }
    
    #header nav ul.active {
        right: 0;
    }
    
    #header nav ul li {
        margin: 0;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s ease;
        width: 100%;
    }
    
    #header nav ul.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    #header nav ul li:nth-child(1) { transition-delay: 0.1s; }
    #header nav ul li:nth-child(2) { transition-delay: 0.2s; }
    #header nav ul li:nth-child(3) { transition-delay: 0.3s; }
    #header nav ul li:nth-child(4) { transition-delay: 0.4s; }
    #header nav ul li:nth-child(5) { transition-delay: 0.5s; }
    #header nav ul li:nth-child(6) { transition-delay: 0.6s; }
    
    #header nav ul li a {
        font-size: 1.2rem;
        padding: 15px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(142, 45, 226, 0.1);
    }
    
    #header nav ul li:last-child a {
        border-bottom: none;
    }
    
    /* Hero Section */
    #hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    #hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }
    
    #hero .subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
    
    /* Stats Section */
    .sentiment-content {
        flex-direction: column;
    }
    
    .sentiment-visual, 
    .sentiment-stats {
        min-width: 100%;
        padding: 20px;
    }
    
    .sentiment-visual {
        border-right: none;
        border-bottom: 1px solid rgba(142, 45, 226, 0.1);
    }
    
    .sentiment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .stat-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-glance {
        grid-template-columns: 1fr;
    }
    
    /* Features, Steps & Why Us Sections */
    .features-grid,
    .steps-container,
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card,
    .step-card,
    .why-us-item {
        padding: 30px 25px;
        margin-bottom: 0;
    }
    
    /* Pricing Section */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
    }
    
    .pricing-card {
        padding: 25px;
    }
    
    .popular {
        order: -1;
        transform: scale(1);
    }
    
    .popular:hover {
        transform: translateY(-10px) scale(1);
    }
    
    .plan-header {
        padding: 25px 20px 15px;
    }
    
    .plan-features {
        padding: 0 20px;
        margin: 20px 0;
    }
    
    .plan-features li {
        font-size: 1rem;
        padding-left: 25px;
    }
    
    /* Newsletter Form */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .signup-form {
        padding: 30px 20px;
    }
    
    /* Buttons */
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Language Dropdown */
    .language-dropdown {
        margin-left: 10px;
    }
    
    .language-toggle {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .language-options {
        min-width: 120px;
        right: -10px;
    }
    
    .language-options button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    /* Gallery Mobile */
    .cg-image {
        width: 280px;
        height: 190px;
    }
    
    .cg-gallery {
        gap: 15px;
        padding: 0 20px;
    }
    
    @keyframes scrollGallery {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 9 - 15px * 9));
        }
    }
    
    .cg-gallery-title {
        font-size: 1.3rem;
    }
    
    .cg-gallery-container::before,
    .cg-gallery-container::after {
        width: 40px;
    }
    
    .gallery-control {
        width: 35px;
        height: 35px;
    }

    /* AI Chat Mobile */
    .pdf-chat-container {
        width: calc(100vw - 30px);
        height: 70vh;
        bottom: 15px;
        right: 15px;
        left: 15px;
        border-radius: 20px;
    }
    
    .pdf-chat-header {
        padding: 18px 20px;
        border-radius: 20px 20px 0 0;
    }
    
    .pdf-chat-messages {
        padding: 20px 15px;
    }
    
    .pdf-chat-message {
        max-width: 90%;
        padding: 14px 18px;
        font-size: 1rem;
    }
    
    .pdf-chat-input-container {
        padding: 18px 15px;
        gap: 10px;
        border-radius: 0 0 20px 20px;
    }
    
    .pdf-chat-input {
        padding: 16px 20px;
        font-size: 1.05rem;
        min-height: 54px;
        border-radius: 27px;
    }
    
    .pdf-chat-send {
        width: 54px;
        height: 54px;
        font-size: 1.2rem;
    }
    
    .pdf-chat-toggle {
        bottom: 15px;
        right: 15px;
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .cta-button {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    /* Touch Targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ============================================= */
/* EXTRA SMALL DEVICES (480px and below) */
/* ============================================= */
@media (max-width: 480px) {
    /* Global Adjustments */
    .section-padding {
        padding: 60px 0;
    }
    
    #hero {
        padding-top: 120px;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    /* Cards & Containers */
    .feature-card,
    .why-us-item,
    .step-card {
        padding: 25px 20px;
    }
    
    /* Stats Section */
    .sentiment-content {
        padding: 0 15px;
    }
    
    .sentiment-visual, 
    .sentiment-stats {
        padding: 20px 0;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Trading Widget */
    .tradingview-widget-container {
        height: 250px;
    }
    
    /* Gallery Extra Small */
    .cg-image {
        width: 250px;
        height: 170px;
    }
    
    .cg-gallery-container::before,
    .cg-gallery-container::after {
        width: 40px;
    }
    
    .gallery-control {
        width: 35px;
        height: 35px;
    }

    /* AI Chat Extra Small */
    .pdf-chat-container {
        width: calc(100vw - 20px);
        height: 65vh;
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .pdf-chat-header {
        padding: 15px 18px;
    }
    
    .pdf-chat-header h3 {
        font-size: 1rem;
    }
    
    .pdf-chat-messages {
        padding: 15px 12px;
        gap: 12px;
    }
    
    .pdf-chat-message {
        max-width: 92%;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .pdf-chat-input-container {
        padding: 15px 12px;
        gap: 8px;
    }
    
    .pdf-chat-input {
        padding: 14px 18px;
        font-size: 1rem;
        min-height: 50px;
    }
    
    .pdf-chat-send {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .pdf-chat-toggle {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
}

/* ============================================= */
/* VERY SMALL DEVICES (380px and below) */
/* ============================================= */
@media (max-width: 380px) {
    /* Container Padding */
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    #header nav ul {
        width: 100%;
        max-width: 100%;
        padding: 80px 1rem 1rem;
    }
    
    /* Typography */
    #hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    /* Buttons */
    .cta-button {
        padding: 12px 24px;
    }
    
    .hero-cta {
        padding: 14px 35px;
    }
    
    /* Gallery Very Small */
    .cg-image {
        width: 220px;
        height: 150px;
    }
    
    /* AI Chat Very Small */
    .pdf-chat-container {
        width: calc(100vw - 16px);
        height: 60vh;
        bottom: 8px;
        right: 8px;
        left: 8px;
        border-radius: 16px;
    }
    
    .pdf-chat-header {
        padding: 12px 15px;
        border-radius: 16px 16px 0 0;
    }
    
    .pdf-chat-header h3 {
        font-size: 0.95rem;
    }
    
    .pdf-chat-messages {
        padding: 12px 10px;
        gap: 10px;
    }
    
    .pdf-chat-message {
        max-width: 95%;
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .pdf-chat-input-container {
        padding: 12px 10px;
        gap: 6px;
        border-radius: 0 0 16px 16px;
    }
    
    .pdf-chat-input {
        padding: 12px 16px;
        font-size: 0.95rem;
        min-height: 46px;
        border-radius: 23px;
    }
    
    .pdf-chat-send {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }
    
    .pdf-chat-toggle {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        bottom: 8px;
        right: 8px;
    }
}

/* ============================================= */
/* KEYBOARD-FRIENDLY MOBILE STYLES */
/* ============================================= */
@media (max-height: 600px) and (max-width: 768px) {
    .pdf-chat-container {
        height: 80vh;
        bottom: 10px;
    }
    
    .pdf-chat-messages {
        padding: 15px;
        flex: 1;
        min-height: 0;
    }
    
    .pdf-chat-input-container {
        padding: 18px 15px;
        gap: 10px;
        border-radius: 0 0 20px 20px;
    }
    
    .pdf-chat-input {
        flex: 0.5; /* Half width on mobile too */
        padding: 16px 20px;
        font-size: 1.05rem;
        min-height: 54px;
        border-radius: 27px;
    }
    
    .pdf-chat-send {
        width: 54px;
        height: 54px;
        font-size: 1.2rem;
    }
}

/* ============================================= */
/* ORIENTATION-SPECIFIC STYLES */
/* ============================================= */
@media (max-width: 768px) and (orientation: landscape) {
    .pdf-chat-container {
        height: 75vh;
    }
    
    .pdf-chat-messages {
        padding: 15px;
    }
    
    .pdf-chat-message {
        max-width: 80%;
        padding: 10px 14px;
    }
}

/* ============================================= */
/* HIGH-DPI SCREENS ENHANCEMENT */
/* ============================================= */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .pdf-chat-container {
        border-width: 0.5px;
    }
    
    .pdf-chat-input {
        border-width: 1.5px;
    }
}

/* ============================================= */
/* REDUCED MOTION SUPPORT */
/* ============================================= */
@media (prefers-reduced-motion: reduce) {
    .pdf-chat-container,
    .pdf-chat-toggle,
    .pdf-chat-send,
    .pdf-chat-message {
        transition: none;
        animation: none;
    }
}

/* ============================================= */
/* DARK MODE ENHANCEMENTS */
/* ============================================= */
@media (prefers-color-scheme: dark) {
    .pdf-chat-container {
        background: var(--card-bg);
        border-color: rgba(142, 45, 226, 0.3);
    }
    
    .pdf-chat-input {
        background: rgba(13, 15, 33, 0.9);
        border-color: rgba(142, 45, 226, 0.4);
    }
}

/* ============================================= */
/* PRINT STYLES */
/* ============================================= */
@media print {
    .pdf-chat-container,
    .pdf-chat-toggle,
    .back-to-top,
    .mobile-nav-toggle {
        display: none !important;
    }
    
    #header {
        position: static;
        background: white !important;
        color: black !important;
    }
    
    .cta-button {
        background: #333 !important;
        color: white !important;
    }
}

/* ===== VARIABLES ===== */
:root {
    --primary-bg: #0a0e17;
    --secondary-bg: #0f1420;
    --card-bg: rgba(23, 26, 53, 0.7);
    --primary-text: #e0e0e0;
    --secondary-text: #a0a0c0;
    --accent-color: #8E2DE2;
    --secondary-accent: #4A00E0;
    --accent-gradient: linear-gradient(90deg, #8E2DE2 0%, #4A00E0 100%);
    --border-radius: 12px;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(142, 45, 226, 0.1);
    z-index: 1000;
    height: var(--header-height);
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Exo 2', sans-serif;
}

.logo {
    height: 40px;
    width: auto;
}

#header nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

#header nav ul li a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

#header nav ul li a:hover {
    color: var(--accent-color);
}

#header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

#header nav ul li a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
}

/* ===== TAB STYLES ===== */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(142, 45, 226, 0.2);
    padding-bottom: 10px;
}

.tab {
    padding: 12px 24px;
    background: rgba(142, 45, 226, 0.1);
    border: 1px solid rgba(142, 45, 226, 0.3);
    border-radius: 30px;
    color: var(--secondary-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab:hover {
    background: rgba(142, 45, 226, 0.2);
    color: var(--primary-text);
}

.tab.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== CARD STYLES ===== */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(142, 45, 226, 0.15);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
}

.card-header {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(142, 45, 226, 0.1);
    padding-bottom: 15px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--secondary-accent);
    font-weight: 600;
    margin: 0;
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: grid;
    gap: 25px;
}

/* ===== METRICS TABLE ===== */
.metrics-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.metrics-table th,
.metrics-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(142, 45, 226, 0.1);
}

.metrics-table th {
    background: rgba(142, 45, 226, 0.1);
    color: var(--secondary-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.metrics-table tr:last-child td {
    border-bottom: none;
}

.metric-value {
    font-weight: 600;
    color: var(--primary-text);
}

.metric-delta {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.delta-positive {
    color: #28a745;
}

.delta-negative {
    color: #dc3545;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* ===== METRIC SUMMARY ===== */
.metric-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.metric-box {
    background: rgba(142, 45, 226, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(142, 45, 226, 0.2);
}

.metric-box h3 {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.metric-tag {
    font-size: 0.8rem;
    color: var(--secondary-text);
    background: rgba(142, 45, 226, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

.metric-comparison {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.metric-comparison-item {
    text-align: center;
}

.comparison-label {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-bottom: 5px;
}

.comparison-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-text);
}

/* ===== RISK GRID ===== */
.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.risk-card {
    background: rgba(23, 26, 53, 0.8);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(142, 45, 226, 0.1);
    transition: all 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-5px);
    border-color: rgba(142, 45, 226, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.risk-level {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.risk-low {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.risk-medium {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.risk-high {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.risk-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--primary-text);
}

.risk-description {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

/* ===== VISUAL REPORT ===== */
.visual-report {
    margin-top: 30px;
}

.visual-report h3 {
    color: var(--secondary-accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 45, 226, 0.6);
}

/* ===== FOOTER ===== */
footer {
    background: var(--secondary-bg);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(142, 45, 226, 0.1);
    margin-top: 60px;
}

footer .container {
    text-align: center;
}

.copyright {
    margin-bottom: 15px;
}

.copyright p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .terms-container {
        margin: 100px auto 60px;
    }
    
    .metric-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .risk-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    #header nav ul {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background: var(--secondary-bg);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        z-index: 999;
        border-right: 1px solid rgba(142, 45, 226, 0.1);
    }

    #header nav ul.active {
        left: 0;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    .terms-container {
        margin: 80px auto 40px;
        padding: 0 15px;
    }

    .terms-content {
        padding: 25px;
    }

    .terms-header h1 {
        font-size: 2.2rem;
    }

    .tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab {
        text-align: center;
        padding: 15px;
    }

    .card {
        padding: 20px;
    }

    .metric-summary {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .risk-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .metrics-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .back-home-button {
        position: static;
        margin: 20px auto;
        display: flex;
        justify-content: center;
        width: max-content;
    }
}

@media (max-width: 480px) {
    .terms-header h1 {
        font-size: 1.8rem;
    }

    .terms-section h2 {
        font-size: 1.4rem;
    }

    .card {
        padding: 15px;
    }

    .metric-value-large {
        font-size: 1.5rem;
    }

    .risk-value {
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content.active {
    animation: fadeIn 0.5s ease;
}

.risk-card {
    animation: fadeIn 0.6s ease;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
.tab:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-bg: #000000;
        --secondary-bg: #111111;
        --card-bg: #222222;
        --primary-text: #ffffff;
        --secondary-text: #cccccc;
    }
}

/* ===== PRIVACY & CONFIDENTIALITY SPECIFIC STYLES ===== */

/* Privacy Container */
.privacy-container {
    max-width: 1000px;
    margin: 120px auto 80px;
    padding: 0 20px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
}

.privacy-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #8E2DE2 0%, #4A00E0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
}

.privacy-header p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.privacy-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(142, 45, 226, 0.15);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
}

/* Privacy Sections */
.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-accent);
    position: relative;
    padding-bottom: 10px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
}

.privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
}

.privacy-section h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    color: var(--primary-text);
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
}

.privacy-section p, 
.privacy-section ul {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--secondary-text);
}

.privacy-section ul {
    padding-left: 20px;
}

.privacy-section li {
    margin-bottom: 10px;
    position: relative;
}

.privacy-section li strong {
    color: var(--primary-text);
}

/* Highlight Box */
.highlight-box {
    background: rgba(142, 45, 226, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
    position: relative;
}

.highlight-box p {
    margin: 0;
    color: var(--primary-text);
    font-style: italic;
    line-height: 1.6;
}

.highlight-box p strong {
    color: var(--accent-color);
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(23, 26, 53, 0.5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.data-table th, 
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(142, 45, 226, 0.1);
}

.data-table th {
    background: rgba(142, 45, 226, 0.1);
    color: var(--secondary-accent);
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: rgba(142, 45, 226, 0.05);
}

/* Privacy Grid & Cards */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.privacy-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(142, 45, 226, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.privacy-card:hover::before {
    left: 100%;
}

.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 0, 224, 0.15);
    border-color: rgba(142, 45, 226, 0.3);
}

.privacy-icon {
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-icon i {
    filter: drop-shadow(0 4px 8px rgba(142, 45, 226, 0.3));
}

.privacy-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: var(--primary-text);
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
}

.privacy-card p {
    margin: 0;
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Privacy Summary */
.privacy-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(142, 45, 226, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-accent);
    margin-top: 20px;
    transition: all 0.3s ease;
}

.privacy-summary:hover {
    background: rgba(142, 45, 226, 0.08);
    transform: translateX(5px);
}

.privacy-summary i {
    font-size: 1.5rem;
    color: var(--secondary-accent);
    flex-shrink: 0;
}

.privacy-summary p {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-text);
    line-height: 1.5;
}

/* Equity Curve Visualization */
.equity-curve-visualization {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(13, 15, 33, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(42, 45, 77, 0.5);
    position: relative;
    overflow: hidden;
}

.equity-curve-visualization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.equity-curve-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(142, 45, 226, 0.2);
}

.chart-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-style: italic;
    line-height: 1.4;
}

/* Back Home Button */
.back-home-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(142, 45, 226, 0.1);
    color: var(--secondary-accent);
    text-decoration: none;
    border-radius: 30px;
    margin: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(142, 45, 226, 0.3);
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 100;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.back-home-button:hover {
    background: rgba(142, 45, 226, 0.2);
    transform: translateX(-5px);
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.3);
}

/* Links */
.privacy-content a {
    color: var(--secondary-accent);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .privacy-container {
        margin: 100px auto 60px;
    }
    
    .privacy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .privacy-header h1 {
        font-size: 2.2rem;
    }
    
    .privacy-content {
        padding: 30px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .privacy-summary {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .back-home-button {
        position: static;
        margin: 20px auto;
        display: flex;
        justify-content: center;
        width: max-content;
    }
    
    .equity-curve-visualization {
        padding: 1rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .privacy-header h1 {
        font-size: 1.8rem;
    }
    
    .privacy-content {
        padding: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .privacy-card {
        padding: 20px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .highlight-box {
        padding: 15px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-card {
    animation: fadeInUp 0.6s ease forwards;
}

.privacy-card:nth-child(1) { animation-delay: 0.1s; }
.privacy-card:nth-child(2) { animation-delay: 0.2s; }
.privacy-card:nth-child(3) { animation-delay: 0.3s; }

/* Print Styles */
@media print {
    .back-home-button,
    .back-to-top,
    #header,
    footer {
        display: none !important;
    }
    
    .privacy-container {
        margin: 0;
        padding: 0;
    }
    
    .privacy-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .privacy-card {
        border: 2px solid var(--accent-color);
    }
    
    .highlight-box {
        border-left: 6px solid var(--accent-color);
    }
    
    .data-table th {
        background: var(--accent-color);
        color: white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .privacy-card,
    .back-home-button,
    .privacy-summary {
        transition: none;
        animation: none;
    }
    
    .privacy-card::before {
        display: none;
    }
}
