/* ==========================================================================
   THINKIUM - Main Stylesheet
   ========================================================================== */

/* CSS Variables - Thinkium Brand Colors */
:root {
    /* Primary Colors */
    --warm-amber-gold: #FFA500;
    --dark-charcoal: #2A2D32;
    --deep-black: #1A1C1F;
    --pure-white: #FFFFFF;
    
    /* Accent Colors */
    --accent-gold: #FFB733;
    --soft-amber: #FFCC80;
    
    /* Neutral Colors */
    --grey-100: #F5F5F5;
    --grey-200: #E0E0E0;
    --grey-300: #BDBDBD;
    --grey-700: #616161;
    --grey-800: #424242;
    
    /* Status Colors */
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
    --info: #2196F3;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(255, 165, 0, 0.5);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

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

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--pure-white);
    background-color: var(--deep-black);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--warm-amber-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-gold);
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--transition-base);
}

/* ==========================================================================
   Container
   ========================================================================== */

.tk-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.tk-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 28, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    transition: all var(--transition-base);
}

.tk-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.tk-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    gap: var(--spacing-md);
}

.tk-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: var(--font-weight-black);
    color: var(--pure-white);
}

.tk-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--warm-amber-gold), var(--accent-gold));
    color: var(--dark-charcoal);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    font-weight: var(--font-weight-black);
    box-shadow: var(--shadow-glow);
}

.tk-nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.tk-nav-link {
    color: var(--grey-200);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.tk-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm-amber-gold);
    transition: width var(--transition-base);
}

.tk-nav-link:hover {
    color: var(--warm-amber-gold);
}

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

.tk-wallet-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--warm-amber-gold);
    color: var(--dark-charcoal);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
}

.tk-wallet-btn:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.6);
}

.tk-mobile-toggle {
    display: none;
    background: transparent;
    color: var(--pure-white);
    font-size: 1.5rem;
    padding: var(--spacing-xs);
}

/* Wallet Error */
.tk-wallet-error {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--error);
    color: var(--pure-white);
    padding: var(--spacing-sm);
    animation: slideDown var(--transition-base);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tk-wallet-error .tk-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.tk-close-error {
    background: transparent;
    color: var(--pure-white);
    font-size: 1.25rem;
    padding: var(--spacing-xs);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.tk-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.tk-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tk-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 28, 31, 0.7) 0%,
        rgba(26, 28, 31, 0.85) 50%,
        rgba(26, 28, 31, 0.95) 100%
    );
}

.tk-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.tk-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--pure-white), var(--warm-amber-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tk-hero-subhead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: var(--font-weight-regular);
    color: var(--grey-200);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.tk-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.tk-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--warm-amber-gold);
    color: var(--dark-charcoal);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
}

.tk-cta-primary:hover {
    background: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(255, 165, 0, 0.7);
}

.tk-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    color: var(--warm-amber-gold);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    border: 2px solid var(--warm-amber-gold);
    border-radius: var(--radius-full);
}

.tk-cta-secondary:hover {
    background: rgba(255, 165, 0, 0.1);
    transform: translateY(-4px);
}

.tk-hero-microcopy {
    font-size: 0.875rem;
    color: var(--grey-300);
    font-style: italic;
}

.tk-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    color: var(--warm-amber-gold);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.tk-section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.tk-section-dark {
    background: var(--deep-black);
}

.tk-section-light {
    background: var(--dark-charcoal);
}

.tk-section-visual {
    background: var(--deep-black);
    padding: var(--spacing-lg) 0;
}

.tk-section-header {
    margin-bottom: var(--spacing-lg);
}

.tk-section-header.tk-center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
}

.tk-section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    color: var(--warm-amber-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.tk-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-black);
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: var(--spacing-md);
}

.tk-section-subtitle {
    font-size: 1.25rem;
    color: var(--grey-200);
    line-height: 1.7;
}

.tk-section-content {
    max-width: 1100px;
    margin: 0 auto;
}

/* Text Blocks */
.tk-text-block {
    margin-bottom: var(--spacing-lg);
}

.tk-lead {
    font-size: 1.375rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.7;
    color: var(--grey-100);
    margin-bottom: var(--spacing-md);
}

.tk-text-block p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--grey-200);
    margin-bottom: var(--spacing-md);
}

/* Feature List */
.tk-feature-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-md);
}

.tk-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 1.125rem;
    color: var(--grey-200);
}

.tk-feature-list i {
    color: var(--warm-amber-gold);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Columns Layout */
.tk-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.tk-column {
    padding: var(--spacing-md);
}

.tk-icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--warm-amber-gold), var(--accent-gold));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-glow);
}

.tk-icon-box i {
    font-size: 2rem;
    color: var(--dark-charcoal);
}

.tk-column h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--pure-white);
    margin-bottom: var(--spacing-sm);
}

.tk-column p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-300);
}

/* Dashboard Preview */
.tk-dashboard-preview {
    text-align: center;
}

.tk-dashboard-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 165, 0, 0.2);
    margin: 0 auto;
}

.tk-dashboard-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--grey-300);
}

.tk-features-img {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
}

/* Mission Cards */
.tk-mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.tk-mission-card {
    background: var(--deep-black);
    border: 2px solid rgba(255, 165, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    transition: all var(--transition-base);
}

.tk-mission-card:hover {
    border-color: var(--warm-amber-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.tk-mission-icon {
    width: 56px;
    height: 56px;
    background: var(--dark-charcoal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.tk-mission-icon i {
    font-size: 1.75rem;
    color: var(--warm-amber-gold);
}

.tk-mission-card h3 {
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    color: var(--pure-white);
    margin-bottom: var(--spacing-sm);
}

.tk-mission-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-300);
}

.tk-mission-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 4px 12px;
    background: var(--warm-amber-gold);
    color: var(--dark-charcoal);
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

/* Blockchain Note */
.tk-blockchain-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid var(--warm-amber-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.tk-blockchain-note i {
    color: var(--warm-amber-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.tk-blockchain-note p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-200);
    margin: 0;
}

/* Pricing Section */
.tk-pricing-visual {
    margin: var(--spacing-lg) 0;
}

.tk-pricing-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.tk-pricing-details {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.tk-pricing-note {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 165, 0, 0.1);
    border-radius: var(--radius-full);
    font-size: 1rem;
    color: var(--grey-200);
}

.tk-pricing-note i {
    color: var(--warm-amber-gold);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.tk-contact-form {
    max-width: 700px;
    margin: var(--spacing-lg) auto;
}

.tk-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.tk-form-group {
    margin-bottom: var(--spacing-md);
}

.tk-form-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--grey-200);
    margin-bottom: var(--spacing-xs);
}

.tk-form-group label i {
    color: var(--warm-amber-gold);
}

.tk-form-group input,
.tk-form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 165, 0, 0.2);
    border-radius: var(--radius-md);
    color: var(--pure-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.tk-form-group input:focus,
.tk-form-group textarea:focus {
    outline: none;
    border-color: var(--warm-amber-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.1);
}

.tk-form-group input::placeholder,
.tk-form-group textarea::placeholder {
    color: var(--grey-700);
}

.tk-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.tk-form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--warm-amber-gold);
    cursor: pointer;
}

.tk-form-checkbox label {
    font-size: 0.875rem;
    color: var(--grey-300);
    line-height: 1.6;
    cursor: pointer;
}

.tk-contact-form .tk-cta-primary {
    width: 100%;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.tk-contact-alt {
    text-align: center;
    font-size: 0.875rem;
    color: var(--grey-300);
}

.tk-contact-alt a {
    color: var(--warm-amber-gold);
    text-decoration: underline;
}

.tk-form-success {
    max-width: 500px;
    margin: var(--spacing-lg) auto;
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
}

.tk-form-success i {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: var(--spacing-md);
}

.tk-form-success h3 {
    font-size: 1.5rem;
    color: var(--pure-white);
    margin-bottom: var(--spacing-sm);
}

.tk-form-success p {
    color: var(--grey-200);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.tk-footer {
    background: var(--deep-black);
    border-top: 1px solid rgba(255, 165, 0, 0.1);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.tk-footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.tk-footer-brand {
    max-width: 400px;
}

.tk-footer-brand .tk-logo {
    margin-bottom: var(--spacing-md);
}

.tk-footer-brand p {
    color: var(--grey-300);
    line-height: 1.7;
}

.tk-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.tk-footer-column h4 {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--pure-white);
    margin-bottom: var(--spacing-sm);
}

.tk-footer-column a {
    display: block;
    color: var(--grey-300);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-fast);
}

.tk-footer-column a:hover {
    color: var(--warm-amber-gold);
    padding-left: 4px;
}

.tk-footer-column a i {
    margin-right: 4px;
}

.tk-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: var(--grey-700);
}

.tk-footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.tk-footer-legal a {
    color: var(--grey-700);
}

.tk-footer-legal a:hover {
    color: var(--warm-amber-gold);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .tk-footer-content {
        grid-template-columns: 1fr;
    }
    
    .tk-footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tk-nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--deep-black);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        transition: left var(--transition-base);
    }
    
    .tk-nav-links.active {
        left: 0;
    }
    
    .tk-mobile-toggle {
        display: block;
    }
    
    .tk-hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .tk-hero-ctas button {
        width: 100%;
    }
    
    .tk-columns {
        grid-template-columns: 1fr;
    }
    
    .tk-mission-cards {
        grid-template-columns: 1fr;
    }
    
    .tk-footer-links {
        grid-template-columns: 1fr;
    }
    
    .tk-footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tk-form-row {
        grid-template-columns: 1fr;
    }
}
