/*
Theme Name: SanSana Capital Trading Platform
Description: Clean, professional trading platform design
Version: 3.0
Author: SanSana Capital Private Limited
*/

/* Import Fonts - Go-Trade Style */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #ffffff;
    font-size: 16px;
}

/* Color Scheme - Go-Trade Style Purple & Yellow */
:root {
    --primary-purple: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-purple: #8b5cf6;
    --accent-yellow: #fbbf24;
    --accent-yellow-light: #fde68a;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --text-primary: #1a202c;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-section: #ffffff;
    --bg-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --border-light: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(99, 102, 241, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(99, 102, 241, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(99, 102, 241, 0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-light);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-purple);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Removed ticker styles - clean design without live tickers */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero h1 {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero .lead {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: var(--shadow);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-outline:hover {
    background: var(--bg-gradient);
    color: white;
    border-color: transparent;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: var(--bg-section);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3, .card h4 {
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    background: var(--bg-gradient);
    color: white;
    text-align: center;
}

.stats-section h2 {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item h3 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Trading Markets Section */
.market-category {
    margin-bottom: 3rem;
}

.market-category h3 {
    color: var(--primary-purple);
    border-bottom: 3px solid var(--accent-yellow);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.instrument-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.instrument-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent-yellow);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.instrument-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.instrument-card h5 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.instrument-list {
    list-style: none;
    padding: 0;
}

.instrument-list li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
.site-footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Alert Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fed7aa;
}

/* Disclaimer */
.disclaimer {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer h4 {
    color: #d97706;
    margin-bottom: 1rem;
}

.disclaimer p {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Compact Disclaimer */
.disclaimer-small {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 0.75rem 0;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

.disclaimer-small i {
    color: #ffc107;
    margin-right: 0.5rem;
}

/* About Page Layout */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.about-main {
    padding-right: 1rem;
}

.about-main h2 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
}

.about-main h3 {
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.about-main p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.business-advantages {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.business-advantages li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1rem;
    line-height: 1.6;
}

.business-advantages li:last-child {
    border-bottom: none;
}

.business-advantages strong {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Company Info Box */
.company-info-box {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.company-info-box h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-yellow);
    padding-bottom: 0.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Mobile Responsive for About Page */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-main {
        padding-right: 0;
    }
    
    .company-info-box {
        position: static;
        margin-top: 1rem;
    }
    
    .about-main h2 {
        font-size: 1.75rem;
    }
    
    .about-main p {
        font-size: 1rem;
    }
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-purple);
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .main-nav li {
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero .lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
    
    .market-category {
        margin-bottom: 2rem;
    }
    
    .instrument-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .instrument-card {
        padding: 1.25rem;
    }
    
    .instrument-card h5 {
        font-size: 1rem;
    }
    
    .ticker-container {
        padding: 0.5rem 0;
    }
    
    .ticker-item {
        font-size: 0.75rem;
        margin-right: 1.5rem;
    }
    
    .ticker-symbol {
        font-size: 0.7rem;
    }
    
    .ticker-price {
        font-size: 0.75rem;
    }
    
    .ticker-change {
        font-size: 0.65rem;
        padding: 0.1rem 0.3rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .contact-form {
        padding: 0;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .card h4 {
        font-size: 1.1rem;
    }
    
    .card p {
        font-size: 0.9rem;
    }
    
    .ticker-item {
        font-size: 0.7rem;
        margin-right: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .market-category h3 {
        font-size: 1.1rem;
    }
    
    .instrument-card {
        padding: 1rem;
    }
    
    .instrument-card h5 {
        font-size: 0.95rem;
    }
    
    .instrument-list li {
        font-size: 0.8rem;
    }
}