/* css/style.css - Premium Light Theme */
:root {
    --bg-main: #ffffff;
    --bg-card: #f8fafc;
    --bg-card-hover: #f1f5f9;
    
    --accent-color: #ffc800; /* Exness Brand Yellow */
    --accent-hover: #e6b400;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #ffc800, #ffb000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--accent-color);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 75px 0;
    scroll-margin-top: 100px;
}

.bg-card {
    background-color: var(--bg-card);
}

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

.mb-6 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* Grid Systems */
.grid {
    display: grid;
    gap: 30px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}
.split-layout.reverse {
    flex-direction: row-reverse;
}
.split-content, .split-image {
    flex: 1;
}
.split-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
}
.split-image img:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .split-layout, .split-layout.reverse {
        flex-direction: column;
    }
}

/* About Rebate Section Adjustments */
#about-rebate .split-layout {
    align-items: flex-start;
}
#about-rebate .split-content p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 200, 0, 0.3);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 200, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--text-primary);
    background: rgba(255, 200, 0, 0.05);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    transition: var(--transition);
}
.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    color: var(--text-primary);
}
.logo img {
    height: 54px;
    width: auto;
    display: block;
    transition: var(--transition);
}
.nav-links {
    display: flex;
    gap: 25px;
}
.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}
.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}
.mobile-close {
    display: none;
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        order: 3;
    }
    .logo {
        order: 1;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        padding: 80px 40px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 2000;
        display: flex !important; /* Override the none in media query if needed, but better to handle it properly */
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        margin-bottom: 20px;
    }
    .nav-links a {
        font-size: 1.1rem;
    }
    .nav-btn {
        display: none;
    }
    .mobile-close {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 1.5rem;
        cursor: pointer;
    }
}
@media (min-width: 993px) {
    .menu-toggle, .mobile-close { display: none; }
}

/* Hero Section */
.hero {
    padding: 160px 0 50px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    z-index: -1;
}
/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.8;
    animation: shapeFloat 10s infinite alternate ease-in-out;
}
.shape-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 200, 0, 0.3), rgba(255, 200, 0, 0));
    animation-duration: 15s;
}
.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(255, 200, 0, 0.2), rgba(255, 200, 0, 0));
    animation-duration: 12s;
}
.shape-3 {
    top: 20%;
    left: 30%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0));
    animation-duration: 18s;
}
@keyframes shapeFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 8%) scale(1.1); }
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}
.hero-actions {
    display: flex;
    gap: 20px;
}
.hero-image {
    flex: 1;
    position: relative;
}
.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.badge-1 { top: 10%; left: -20px; animation: float 5s ease-in-out infinite alternate; }
.badge-2 { bottom: 20%; right: -20px; animation: float 7s ease-in-out infinite alternate-reverse; }

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



/* Section Header */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Advantages Cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: 16px;
    transition: var(--transition);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 20px;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.feature-card .icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 200, 0, 0.1);
    color: #b38b00;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0; /* Side-by-side layout needs no bottom margin here */
}
.feature-card h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}
.feature-card p {
    grid-column: 1 / 3;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Account Types */
.account-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.account-card:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.account-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background: var(--bg-card);
}
.account-header h3 {
    font-size: 1.5rem;
}
.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.account-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.features-list {
    margin-bottom: 30px;
    flex: 1;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.features-list li p
{
	display: flex;
	gap: 12px;
}
.features-list li i,.features-list li em {
    color: var(--accent-color);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.table-wrapper {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    min-width: 100%;
}
@media (max-width: 768px) {
    .data-table {
        min-width: 700px;
    }
    .data-table th, .data-table td {
        padding: 15px 10px;
        font-size: 0.85rem;
    }
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.data-table th, .data-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}
.data-table th {
    background: var(--bg-card);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}
.data-table tr:last-child td {
    border-bottom: none;
}
.data-table tbody tr:hover {
    background: rgba(0,0,0,0.01);
}

/* Steps Guide */
.steps-grid {
    position: relative;
}
.step-card {
    text-align: center;
    position: relative;
    padding: 20px;
}
.step-num {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: #ffffff;
    font-weight: 800;
    font-family: var(--font-heading);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 10px rgba(255, 200, 0, 0.3);
}
.step-icon {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}
.step-card h3 {
    margin-bottom: 10px;
}
.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Timeline */
.transfer-timeline {
    border-left: 2px dashed var(--border-light);
    padding-left: 30px;
    margin-left: 15px;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-icon {
    position: absolute;
    left: -48px;
    top: 0;
    width: 34px;
    height: 34px;
    background: var(--bg-main);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}
.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.timeline-content p {
    color: var(--text-secondary);
}

/* Services */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.service-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.service-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}
.service-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.service-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ */
.faq-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.faq-question {
    padding: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover {
    background: var(--bg-card);
}
.faq-question i {
    transition: transform 0.3s;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 200, 0, 0.05), rgba(255,255,255,1));
    position: relative;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.cta-title {
    font-size: 3rem;
    margin-bottom: 20px;
}
.cta-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}
.cta-button {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 200, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 200, 0, 0); }
}
.risk-warning {
    margin-top: 50px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: left;
}

/* Footer */
.footer {
    background: #0f172a; /* Keep footer dark for contrast in light theme, very standard premium design */
    color: #f8fafc;
    padding: 80px 0 20px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-brand .logo {
    margin-bottom: 20px;
    color: #ffffff;
}
.footer-brand .logo img {
    filter: brightness(0) invert(1);
}
.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
}
.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--accent-color);
}
.footer-links p {
    color: #94a3b8;
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    /* Hide Quick Links and Support on Mobile */
    .footer-top .footer-links:nth-child(2),
    .footer-top .footer-links:nth-child(3) {
        display: none;
    }
}



/* Home News List */
.home-news-list {
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0 auto;
}
.home-news-item {
    border-bottom: 1px dashed var(--border-light);
    transition: var(--transition);
}
.home-news-item:last-child {
    border-bottom: none;
}
.home-news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}
.home-news-link:hover {
    background-color: var(--bg-card);
    transform: translateX(10px);
}
.home-news-title {
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    transition: var(--transition);
}
.home-news-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}
.home-news-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-shrink: 0;
    font-family: var(--font-heading);
}
.home-news-link:hover .home-news-title {
    color: var(--accent-color);
}
@media (max-width: 768px) {
    .home-news-link {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 15px 5px;
    }
    .home-news-title {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 10px;
    }
    .home-news-title::before {
        margin-right: 8px;
    }
    .home-news-date {
        font-size: 0.8rem;
    }
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero { padding: 120px 0 40px; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-subtitle { max-width: 100%; margin: 0 auto 30px; font-size: 1rem; }
    .hero-actions { justify-content: center; flex-direction: column; gap: 15px; width: 100%; max-width: 300px; margin: 0 auto; }
    .hero-title { font-size: 2.2rem; line-height: 1.3; }
    .floating-badge { display: none; }
    .section-title { font-size: 2.2rem; }
    .btn-large { padding: 12px 24px; font-size: 1rem; }
}
