/* TacticScale Website - Golden Trading Theme with Fairy Tale Magic */

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

:root {
    /* TacticScale golden color palette */
    --gold-dark: #b8860b;            /* Dark gold */
    --gold: #ffd700;                 /* Pure gold */
    --gold-light: #ffe44d;           /* Light gold */
    --amber: #ffbf00;                /* Amber */
    --orange: #ff8c00;               /* Dark orange */
    --brown-dark: #2d2a26;           /* Dark brown for text */
    --brown: #4a4540;                /* Medium brown */
    --brown-light: #6b6560;          /* Light brown */
    --cream: #fffef5;                /* Warm cream background */
    --cream-dark: #f5f0e0;           /* Darker cream */

    /* Signal colors */
    --bullish: #4ade80;              /* Green for bullish */
    --bearish: #f87171;              /* Red for bearish */

    /* Text colors */
    --text-primary: var(--brown-dark);
    --text-secondary: var(--brown);
    --text-muted: var(--brown-light);

    /* Backgrounds */
    --bg-cream: #fffef8;
    --bg-warm: linear-gradient(180deg, #fffef8 0%, #f5f0e0 100%);
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-strong: rgba(255, 255, 255, 0.9);

    /* Borders and shadows */
    --border-subtle: rgba(184, 134, 11, 0.15);
    --shadow-soft: 0 4px 24px rgba(184, 134, 11, 0.1);
    --shadow-glass: 0 8px 32px rgba(184, 134, 11, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-warm);
    min-height: 100vh;
}

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

/* Header - Frosted Glass */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: var(--brown-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--gold-dark);
}

/* Buttons - Golden Glass Style */
.btn-primary, .btn-secondary {
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    color: var(--brown-dark);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--brown);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-glass-strong);
    color: var(--gold-dark);
}

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

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: var(--bg-warm);
    overflow: hidden;
}

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

.hero-content {
    max-width: 540px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--brown-dark);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 20px;
    color: var(--gold-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

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

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* App Preview Container */
.app-preview-container {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-preview {
    width: 100%;
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(255, 215, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    max-width: 260px;
}

.carousel-slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.carousel-caption {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-dark);
    text-align: center;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cream-dark);
    border: 2px solid var(--gold-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--gold-light);
}

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

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-cream);
}

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

/* Feature Card - Glass Style */
.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
    border-color: rgba(255, 215, 0, 0.4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--brown-dark);
    margin-bottom: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Signal Types Section */
.signal-types {
    padding: 100px 0;
    background: var(--bg-warm);
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.signal-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.signal-card.bullish {
    border-color: rgba(74, 222, 128, 0.3);
}

.signal-card.bullish:hover {
    border-color: rgba(74, 222, 128, 0.6);
    box-shadow: 0 8px 32px rgba(74, 222, 128, 0.2);
}

.signal-card.bearish {
    border-color: rgba(248, 113, 113, 0.3);
}

.signal-card.bearish:hover {
    border-color: rgba(248, 113, 113, 0.6);
    box-shadow: 0 8px 32px rgba(248, 113, 113, 0.2);
}

.signal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.signal-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 12px;
}

.signal-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeframes {
    text-align: center;
}

.timeframes h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.timeframe-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    color: var(--brown-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-cream);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 32px 24px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: var(--shadow-soft);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--brown-dark);
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 12px;
}

.step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 28px;
    color: var(--gold-dark);
    font-weight: 300;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
    text-align: center;
}

.download-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 12px;
}

.download-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img {
    height: 54px;
}

.download-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 24px !important;
}

/* Footer */
.footer {
    background: var(--brown-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 32px;
}

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

.footer-section .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-section .logo-icon {
    filter: brightness(1.2);
}

.footer-tagline {
    color: var(--gold);
    font-size: 15px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.disclaimer {
    margin-top: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

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

    .signals-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-title {
        font-size: 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .app-preview {
        max-width: 220px;
    }

    .carousel {
        max-width: 220px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .steps {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }

    .timeframe-tags {
        gap: 8px;
    }

    .tag {
        padding: 6px 14px;
        font-size: 12px;
    }
}
