/* WhitePhoenix Trading - TCT Trading Style Clone */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #090a0f;
    --color-bg-secondary: #0a0a12;
    --color-primary: #1c32f2;
    --color-primary-glow: rgba(28, 50, 242, 0.16);
    --color-accent: #af63fa;
    --color-accent-glow: rgba(175, 99, 250, 0.3);
    --color-text: #ffffff;
    --color-text-secondary: #aeb3cc;
    --color-border: #585d88;
    --color-border-light: rgba(88, 93, 136, 0.3);
    --color-phoenix-orange: #ff6b35;
    --color-phoenix-gold: #ffa500;

    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    --max-width: 1220px;
    --section-padding: 80px;
    --border-radius: 4px;
    --border-radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

h1 {
    font-size: clamp(32px, 5vw, 60px);
}

h2 {
    font-size: clamp(28px, 4vw, 48px);
}

h3 {
    font-size: clamp(18px, 2vw, 24px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
    background: #2541ff;
    box-shadow: 0 6px 30px rgba(28, 50, 242, 0.3);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(9, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

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

.logo-accent {
    color: var(--color-phoenix-gold);
}

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

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.hero-blur-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    top: -200px;
    left: -200px;
    opacity: 0.15;
}

.hero-blur-2 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    bottom: -100px;
    right: -100px;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
}

.hero-phoenix {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.4) 0%, rgba(255, 107, 53, 0.2) 40%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-title {
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-phoenix-gold) 50%, var(--color-phoenix-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-gradient-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

/* Sections Common */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(9, 10, 15, 0.6);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(28, 49, 242, 0.1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border);
    box-shadow: 0 20px 60px rgba(28, 49, 242, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-glow);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-title {
    margin-bottom: 12px;
    font-size: 18px;
}

.feature-desc {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Community Section */
.community {
    padding: var(--section-padding) 0;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.community-list {
    margin-bottom: 32px;
}

.community-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
}

.check-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(175, 99, 250, 0.2);
    border-radius: 50%;
    color: var(--color-accent);
    flex-shrink: 0;
}

.community-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: rgba(9, 10, 15, 0.6);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: rgba(9, 10, 15, 0.6);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border);
}

.pricing-card-featured {
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px var(--color-primary-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-text);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 20px;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.price-currency {
    font-size: 24px;
    color: var(--color-text-secondary);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
}

.price-period {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 14px;
    color: var(--color-text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-phoenix-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--color-border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-desc {
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-text-secondary);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border-light);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 810px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .features-grid,
    .pricing-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-phoenix {
        max-width: 350px;
    }

    :root {
        --section-padding: 60px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .community-stats {
        grid-template-columns: 1fr;
    }

    .hero-phoenix {
        max-width: 280px;
    }
}
