/* ===================================
   Sigma9 Capital Ltd. - Luxury Styles
   =================================== */

/* Root Variables */
:root {
    --primary-purple: #3B0075;
    --primary-gold: #D4AF37;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --dark-gray: #1A1A1A;
    --medium-gray: #4A4A4A;
    --light-gray: #E5E5E5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

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

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 2px 30px rgba(59, 0, 117, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.sigma-symbol {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Times New Roman', serif;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-purple);
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--primary-gold);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--medium-gray);
    text-decoration: none;
    position: relative;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-purple);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #1a0033 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(212, 175, 55, 0.03) 50px, rgba(212, 175, 55, 0.03) 51px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(212, 175, 55, 0.03) 50px, rgba(212, 175, 55, 0.03) 51px);
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--primary-gold);
    color: var(--primary-purple);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.cta-button i {
    transition: var(--transition-smooth);
}

.cta-button:hover i {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary-gold);
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

/* Section Styling */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about-section {
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.key-traits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.trait {
    text-align: center;
}

.trait-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple), #5a0099);
    color: var(--primary-gold);
    font-size: 1.8rem;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(59, 0, 117, 0.2);
}

.trait h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
}

.trait p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin: 0;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(135deg, var(--primary-purple), #2a0055);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(59, 0, 117, 0.3);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Investments Section */
.investments-section {
    background: var(--white);
}

.investments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.investment-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--light-gray);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-gold));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.investment-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 20px 60px rgba(59, 0, 117, 0.15);
    transform: translateY(-5px);
}

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

.investment-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple), #5a0099);
    color: var(--primary-gold);
    font-size: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 0, 117, 0.2);
}

.investment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

.investment-card p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.investment-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 0, 117, 0.05);
    color: var(--primary-purple);
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(59, 0, 117, 0.1);
}

.investment-principles {
    background: var(--off-white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.investment-principles h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-purple);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.principle {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-align: left;
    background: var(--white);
    border-radius: 10px;
}

.principle i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.principle span {
    font-size: 1rem;
    color: var(--medium-gray);
}

/* Global Section */
.global-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.world-map-container {
    margin-top: 4rem;
}

.map-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(59, 0, 117, 0.1);
    margin-bottom: 3rem;
}

.world-map {
    width: 100%;
    height: auto;
}

.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-in-out forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.location-dot {
    animation: pulse 2s ease-in-out infinite;
}

.location-pulse {
    animation: expandPulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes expandPulse {
    0% { r: 8; opacity: 0.3; }
    50% { r: 20; opacity: 0; }
    100% { r: 8; opacity: 0; }
}

.global-locations {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-weight: 500;
    color: var(--primary-purple);
    transition: var(--transition-smooth);
}

.location-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.location-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 0, 117, 0.15);
}

/* Contact Section */
.contact-section {
    background: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.office-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(59, 0, 117, 0.08);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.info-item strong {
    color: var(--primary-purple);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(59, 0, 117, 0.1);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary-purple), #5a0099);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.submit-button:hover {
    background: linear-gradient(135deg, #5a0099, var(--primary-purple));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 0, 117, 0.3);
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(59, 0, 117, 0.1);
}

.form-success.active {
    display: block;
}

.form-success i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin: 0;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo .sigma-symbol {
    font-size: 3rem;
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-text .disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .investments-grid,
    .principles-grid,
    .key-traits {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transition: var(--transition-slow);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}
