/* Main Style for Pusula Clone - Premium Institutional Edition */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #062639;
    --secondary-color: #00A3C9;
    --primary-cyan: #00A3C9;
    --primary-navy: #062639;
    --text-dark: #062639;
    --text-grey: #6c757d;
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);

    /* Elevation Levels */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    /* Premium Fintech Font */
    background-color: #ffffff;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Helper */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.8);
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1rem 0;
}

a {
    transition: all 0.2s ease;
    color: var(--primary-color);
}

/* Top Bar - Visual Match: Light Grey */
.top-bar {
    background-color: var(--topbar-bg);
    color: var(--topbar-text);
    font-size: 0.8rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e9ecef;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    /* Align to right like many portals */
    gap: 2rem;
    align-items: center;
}

.top-bar-links {
    display: flex;
    gap: 1.5rem;
}

.top-bar a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Header - Visual Match: White, Taller */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    /* Let it grow */
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links img {
    height: 40px;
    /* Adjust logo height as needed */
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
}

.btn-open-account {
    background: linear-gradient(90deg, var(--secondary-color), #e67e22);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    /* Rounded pill button */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    border: none;
}

.btn-open-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    background-color: #d35400;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 44, 77, 0.9), rgba(13, 44, 77, 0.8)), url('img/unsplash_1460925895917-afdab827c52f.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0;
    text-align: left;
    /* Align left for more corporate feel */
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: #e0e0e0;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Quick Links Strip */
.quick-links-strip {
    background-color: var(--accent-color);
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.strip-item {
    padding: 1rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    cursor: pointer;
}

.strip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.strip-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.strip-text {
    font-weight: 600;
    color: var(--primary-color);
}


/* Main Content Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.card {
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: #b71c1c;
}


/* Analysis Section */
.analysis-section {
    background-color: #f9f9f9;
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Grid Layouts - Desktop */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.news-item {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-date {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    display: inline-block;
    margin-right: auto;
}

.news-content {
    padding: 1.5rem;
}


/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #b0b0b0;
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid #333;
    padding-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.8;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    border-left: 3px solid var(--secondary-color);
    padding-left: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
    /* Slight movement on hover */
}

/* Form Styles */
input,
textarea {
    background: #f8f9fa;
    border: 1px solid #dde2e5;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    background: white;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 1rem 0;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* --- Advanced UI Components for Pro Content --- */


/* Corporate Buttons 2.0 */
.btn-cyan {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, #008ba3 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    /* Fully rounded for modern feel */
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 163, 201, 0.3);
}

.btn-cyan:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 163, 201, 0.4);
    filter: brightness(1.1);
}

.btn-navy {
    background: var(--primary-navy);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-navy:hover {
    background: #041b29;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 38, 57, 0.3);
}

/* Market Ticker - Premium Dark Version */
.ticker-wrap {
    background: #020d14;
    /* Deepest Navy */
    width: 100%;
    overflow: hidden;
    height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: border-box;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    padding: 0 2rem;
    font-size: 0.8rem;
    color: #a1b0b9;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ticker-up {
    color: #10b981;
}

/* Emerald Green */
/* Rose Red */
.ticker-down {
    color: #f43f5e;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Data Tables */
.market-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.market-table th,
.market-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.market-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
}

.market-table tr:hover {
    background-color: #f1f5f9;
}

.trend-up {
    color: #16a34a;
    background-color: #dcfce7;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.trend-down {
    color: #dc2626;
    background-color: #fee2e2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Platform Showcase */
.platform-section {
    background: #0d2c4d;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.platform-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.platform-image {
    flex: 1;
    position: relative;
}

.platform-image img {
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-info {
    flex: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.feature-list i {
    color: var(--secondary-color);
}

/* Tabbed Analysis Widget */
.tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Mega Menu (Simple CSS hover) */
.nav-item {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -50px;
    width: 600px;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 0 0 8px 8px;
    z-index: 100;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-item:hover .mega-menu {
    display: grid;
}

.mega-col h5 {
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.mega-col a {
    display: block;
    padding: 0.5rem 0;
    color: #64748b;
    font-size: 0.9rem;
}

.mega-col a:hover {
    color: var(--secondary-color);
    background: none;
    padding-left: 5px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary-navy);
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-grey);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
    border-top: 1px solid #f1f5f9;
}

.faq-item.active i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary-cyan);
}

/* Testimonial Card Enhancements */
.testimonial-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Navigation & Mega Menu */
.menu-item {
    position: relative;
    padding: 1.5rem 0;
}

.menu-link {
    color: #062639 !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: -0.2px;
    padding: 0.5rem 0;
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: 0.3s;
}

.menu-item:hover .menu-link::after {
    width: 100%;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 250px;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(6, 38, 57, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border: 1px solid #f1f5f9;
}

.menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-content {
    display: flex;
    gap: 3rem;
    min-width: max-content;
}

.mega-content a {
    display: block;
    color: #64748b !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    white-space: nowrap;
    transition: 0.3s;
}

.mega-content a:hover {
    background: #f1f8fc;
    color: var(--primary-navy) !important;
    padding-left: 2rem;
}

.mega-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mega-col span {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
    opacity: 0.8;
}

.btn-cyan {
    background: var(--primary-cyan) !important;
    color: white !important;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 163, 201, 0.2);
    transition: 0.3s;
}

.btn-cyan:hover {
    background: #008eb0 !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 163, 201, 0.3);
}

/* ==================== COMPREHENSIVE MOBILE RESPONSIVE DESIGN ==================== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 0.5rem;
}

/* Tablet & Medium Screens (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    /* Hero adjustments */
    .hero {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    /* Footer grid */
    footer>div:first-child {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Navigation columns in footer */
    footer>div:nth-child(2) {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Tablet & Small Screens (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Top Bar */
    .top-bar {
        display: none;
        /* Hide utility bar on mobile for cleaner look */
    }

    /* Navigation */
    .navbar {
        height: auto;
        padding: 1rem 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .header-buttons {
        display: none !important;
    }

    .btn-open-account {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 1rem;
    }

    /* Hero Section */
    .hero {
        padding: 4rem 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-btns .btn-cyan,
    .hero-btns .btn-outline {
        width: 100%;
        justify-content: center;
    }

    /* Grid Systems */
    .grid-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 0;
    }

    .strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact Page - İletişim Sayfası */
    section>.container>div[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 4rem !important;
    }

    /* Office branches grid - İrtibat Ofisleri */
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Map iframes */
    .maps iframe {
        height: 200px !important;
    }

    /* Footer */
    footer {
        padding: 3rem 0 2rem;
    }

    /* Footer top section with 5 columns */
    footer>div:first-child {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 3rem !important;
    }

    /* Footer navigation 7 columns */
    footer>div:nth-child(2) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        padding-top: 2rem !important;
    }

    /* Platform showcase */
    .platform-showcase {
        flex-direction: column;
        gap: 2rem;
    }

    /* Market cards */
    .market-table {
        font-size: 0.8rem;
    }

    .market-table th,
    .market-table td {
        padding: 0.5rem;
    }

    /* Mega menu - disable on mobile */
    .mega-menu {
        display: none !important;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Cards */
    .card {
        padding: 1.5rem;
    }

    /* Form adjustments */
    form[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    form .form-group {
        grid-column: span 1 !important;
    }

    /* Ticker */
    .ticker-wrap {
        height: 40px;
    }

    .ticker {
        height: 32px;
        line-height: 32px;
    }

    .ticker-item {
        padding: 0 1rem;
        font-size: 0.7rem;
    }
}

/* Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Typography */
    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    /* Hero */
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem !important;
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* Buttons */
    .btn-cyan,
    .btn-navy,
    .btn-open-account,
    .btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Strip grid - stack on small phones */
    .strip-grid {
        grid-template-columns: 1fr;
    }

    /* Footer navigation - single column */
    footer>div:nth-child(2) {
        grid-template-columns: 1fr !important;
    }

    /* Cards - tighter spacing */
    .card {
        padding: 1.25rem;
    }

    .glass-card {
        padding: 1.5rem !important;
    }

    /* Contact info cards */
    div[class="glass-card"] h4 {
        font-size: 1rem !important;
    }

    /* Section spacing */
    section {
        padding: 3rem 0 !important;
    }

    /* Platform features */
    .feature-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* News items */
    .news-content {
        padding: 1rem;
    }

    /* Market table - scroll horizontally */
    .market-table-container {
        overflow-x: auto;
    }

    .market-table {
        min-width: 500px;
    }
}

/* Landscape mode for phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

/* Print styles */
@media print {

    .navbar,
    .hero,
    footer,
    .btn-open-account,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}