/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 140, 0, 0.4);
    z-index: 1000;
}

.navbar {
    padding: 0 24px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
}

.logo-text {
    color: #ffffff;
}

.logo-text .highlight {
    color: #58a6ff;
}

.logo-icon {
    display: none;
}

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

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: #ffffff;
}

.dropdown svg {
    width: 12px;
    height: 8px;
    opacity: 0.6;
}

/* Mega dropdown menu */
.nav-item.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateX(0);
    background: #ffffff;
    color: #1e293b;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    min-width: 400px;
    display: none;
    z-index: 2000;
}
.dropdown-list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(180px,1fr)); gap:8px 16px; }
.dropdown-item { display:flex; gap:8px; align-items:flex-start; }
.item-icon { font-size:18px; color:#ff8c00; margin-top:2px; }
.dropdown-item .item-title { display:block; font-weight:600; font-size:15px; margin-bottom:2px; }
.dropdown-item .item-desc { font-size:13px; color:#64748b; }

/* Mobile: simplify mega dropdown */
@media (max-width: 768px) {
  .dropdown-menu{
    min-width:260px;
    left:50%;
    transform:translateX(-50%);
    padding:16px 20px;
  }
  .dropdown-list{ grid-template-columns:1fr; gap:12px; }
  .dropdown-item{ gap:10px; }
  .dropdown-item .item-desc{ display:none; }
  .dropdown-item .item-title{ font-size:14px; }
}
.nav-item.dropdown:hover .dropdown-menu { display: block; }

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

.btn-demo {
    padding: 8px 16px;
    border: 1px solid #404040;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-demo:hover {
    border-color: #606060;
    background: rgba(255, 255, 255, 0.05);
}

.btn-contact {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: #ff8c00;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-contact:hover {
    background: #e07a00;
    transform: translateY(-1px);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #404040;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    transition: all 0.2s ease;
}

.language-selector:hover {
    border-color: #606060;
    background: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Main Content */
.main {
    margin-top: 60px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://i.pinimg.com/1200x/ba/a4/6f/baa46fb3a3966847c856d671c64d6138.jpg') center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    /* subtle dark overlay for readability */
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 100%;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: #58a6ff;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #ff8c00;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.cta-button:hover {
    background: #e07a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.4);
}

.cta-button svg {
    transition: transform 0.2s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}


/* Feature & Events */
.feature-section {
    padding: 40px 0;
    background: #f8fafc;
}

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

.feature-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Feature video */
.feature-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-video .feature-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.events-section {
    padding: 40px 0;
    background: #ffffff;
}

.events-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.events-title {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 24px;
}

.events-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.event-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
    padding: 0 12px;
}

.event-date {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.event-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

@media (max-width: 768px) {
    .events-list {
        gap: 16px;
    }
}

/* Solutions Section */
.solutions-section {
    padding: 60px 0;
    background: #ffffff;
}

.solutions-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 4px;
}

.solutions-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b;
    text-align: center;
    margin-bottom: 12px;
}

.solutions-subtitle {
    font-size: 16px;
    color: #475569;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 12px;
}

.feature-card {
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    margin-bottom: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.feature-card.primary-card {
    flex-direction: row;
    gap: 60px;
    padding: 40px;
}

.feature-card.primary-card .card-content {
    max-width: 420px;
}

.feature-card.primary-card .card-title {
    font-size: 28px;
}

.feature-card.primary-card .card-text {
    font-size: 16px;
}

.feature-card.primary-card .card-image-wrapper {
    flex: 1.3;
}

.feature-card.primary-card .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.crm-card {
    background: #0f172a;
    gap: 48px;
    border-radius: 16px;
    padding: 48px;
}

.crm-card .card-image-wrapper {
    flex: 1.5;
}
.crm-card .card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Copy Trading section */
.copy-section {
    padding: 60px 0;
    background: #1e293b;
}
.copy-card {
    background: #1e2638;
    gap: 48px;
    border-radius: 16px;
    padding: 48px;
}
.copy-card .card-title {
    color: #ffffff;
}
.copy-card .card-text {
    color: #cbd5e1;
}
.copy-card .card-image-wrapper {
    flex: 1.5;
}
.copy-card .card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* CRM card text colours */
.crm-card .card-title {
    color: #ffffff;
}
.crm-card .card-text {
    color: #cbd5e1;
}

/* Adjust section spacing */
.solutions-section {
    padding: 40px 0;
}

.solutions-container {
    max-width: 1200px;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Grid cards stacked layout */
.card-grid .feature-card {
    flex-direction: column;
    gap: 24px;
}

.card-grid .card-image-wrapper {
    width: 100%;
}

.card-grid .card-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

.card-content {
    flex: 1 1 0;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.card-text {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 24px;
}

.card-image-wrapper {
    flex: 1 1 0;
}

.card-image {
    width: 100%;
    border-radius: 12px;
}

.cta-button.small {
    padding: 12px 24px;
    font-size: 14px;
}

@media (max-width: 900px) {
    /* stack primary card image above content */
    .feature-card.primary-card {
        flex-direction: column-reverse;
        gap: 24px;
    }
    .feature-card.primary-card .card-image-wrapper {
        width: 100%;
        flex: none;
    }
    .feature-card.primary-card .card-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        max-height: 220px;
    }
    .feature-card {
        flex-direction: column;
        padding: 32px;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Shared tighter spacing for light feature sections */
.solutions-section,
.copy-section,
.pam-section,
.mam-section {
    padding: 40px 0;
}

/* PAMM section */
.pam-section {
    padding: 22px 0;
    background: #ffffff;
}
.pam-card {
    background: #f8fafc;
    gap: 48px;
    border-radius: 16px;
    padding: 48px;
}
.pam-card .card-title {
    color: #1e293b;
}
.pam-card .card-text {
    color: #475569;
}
.pam-card .card-image-wrapper {
    flex: 1.5;
}
.pam-card .card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* MAM section */
.mam-section {
    padding: 32px 0;
    background: #ffffff;
}
.mam-card {
    background: #0f172a;
    gap: 48px;
    border-radius: 16px;
    padding: 48px;
}
.mam-card .card-title {
    color: #ffffff;
}
.mam-card .card-text {
    color: #cbd5e1;
}
.mam-card .card-image-wrapper {
    flex: 1.5;
}
.mam-card .card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* Why Choose Section */
.why-section {
    padding: 60px 0;
    background: #1e1e1e;
    color: #ffffff;
    text-align: center;
}

.why-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.why-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

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

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 240px;
    margin: 0 auto;
}

.why-icon {
    width: 48px;
    height: 48px;
    color: #00ff5f;
}

.why-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
}

.why-text {
    font-size: 14px;
    line-height: 1.5;
    color: #cbd5e1;
}

.why-cta {
    display: inline-block;
    background: #00ff5f;
    color: #000000;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 95, 0.3);
}

/* Footer */
.site-footer {
    background: #0b0b0b;
    color: #cbd5e1;
    padding: 60px 0;
    font-size: 15px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 40px;
}
.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}
.footer-desc {
    margin-bottom: 20px;
    line-height: 1.6;
}
.social-icons {
    display: flex;
    gap: 26px;
    font-size: 26px;
}
.social-icons a {
    color: #ff8c00;
    transition: color 0.2s ease;
}
.social-icons a:hover {
    color: #ffffff;
}
.social-icons a.telegram { color:#26A5E4; }
.social-icons a.facebook { color:#1877F2; }
.social-icons a.whatsapp { color:#25D366; }
.social-icons a.instagram { color:#E1306C; }
.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    color: #cbd5e1;
    transition: color 0.2s ease;
    font-size: 14px;
}
.footer-links a:hover {
    color: #ff8c00;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 38px;
    }
    
    .hero-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hide header action buttons; drawer still shows them */
    .header .nav-actions {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-container {
        padding: 0 16px;
        max-width: 90%;
    }
    
    .hero {
        min-height: 60vh;
    }
}

/* ------------------
   Mobile Drawer
-------------------*/
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    padding: 24px;
    box-shadow: 2px 0 12px rgba(0,0,0,0.6);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mobile-drawer.open {
    transform: translateX(0);
}
.mobile-drawer .drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}
.mobile-drawer .language-selector {
    display: none;
}

.mobile-drawer .nav-menu,
.mobile-drawer .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Overlay behind drawer */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1100;
}
.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 13px;
        margin-bottom: 24px;
    }
}
