:root {
    --color-bg: #0a0a0f;
    --color-bg-elevated: #111118;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-strong: rgba(255, 255, 255, 0.15);
    
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-tertiary: rgba(255, 255, 255, 0.5);
    
    --color-accent: #00ff88;
    --color-accent-hover: #00e67a;
    --color-accent-secondary: #00d4ff;
    --color-positive: #00ff88;
    --color-negative: #ff4444;
    
    --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-accent: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    --gradient-hero: radial-gradient(ellipse at top, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 255, 136, 0.2);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', -apple-system, sans-serif;
}

[data-theme="light"] {
    --color-bg: #ffffff;
    --color-bg-elevated: #f8f9fa;
    --color-bg-card: rgba(0, 0, 0, 0.03);
    --color-surface: rgba(0, 0, 0, 0.05);
    --color-border: rgba(0, 0, 0, 0.1);
    --color-border-strong: rgba(0, 0, 0, 0.15);
    
    --color-text-primary: #0a0a0f;
    --color-text-secondary: rgba(10, 10, 15, 0.7);
    --color-text-tertiary: rgba(10, 10, 15, 0.5);
    
    --gradient-hero: radial-gradient(ellipse at top, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    z-index: -1;
    pointer-events: none;
}

[data-theme="light"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
}

@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    33% {
        transform: translate(5%, -5%) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(-5%, 5%) scale(0.9);
        opacity: 0.9;
    }
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg,
            rgba(0, 255, 136, 0.03) 60deg,
            transparent 120deg,
            rgba(0, 212, 255, 0.03) 180deg,
            transparent 240deg,
            rgba(255, 107, 157, 0.02) 300deg,
            transparent 360deg);
    animation: rotateGradient 30s linear infinite;
    z-index: -1;
    pointer-events: none;
}

[data-theme="light"] body::after {
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg,
            rgba(0, 255, 136, 0.02) 60deg,
            transparent 120deg,
            rgba(0, 212, 255, 0.02) 180deg,
            transparent 240deg,
            rgba(255, 107, 157, 0.01) 300deg,
            transparent 360deg);
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: all 0.3s ease;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--color-text-primary);
}

.brand-logo {
    font-size: 1.75rem;
    line-height: 1;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.btn-nav {
    background: var(--gradient-primary);
    color: var(--color-bg);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* Theme Toggle */
.theme-toggle {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-secondary);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-border-strong);
    color: var(--color-text-primary);
}

.theme-icon {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: var(--gradient-hero);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite, floatBackground 15s ease-in-out infinite;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 10s ease-in-out infinite reverse, floatBackground 20s ease-in-out infinite reverse;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: pulse 12s ease-in-out infinite, floatBackground 18s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes floatBackground {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: var(--spacing-lg);
}

.title-line {
    display: block;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    min-width: 140px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-2px);
}

.stat-card.highlight {
    background: var(--gradient-accent);
    border-color: rgba(0, 255, 136, 0.3);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    margin-bottom: 0.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    font-family: var(--font-display);
}

.stat-value.positive {
    color: var(--color-positive);
}

.stat-value.negative {
    color: var(--color-negative);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

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

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

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-border-strong);
    background: var(--color-bg-elevated);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.85) translateX(50px) rotateY(-15deg);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    filter: blur(4px);
}

.hero-carousel-slide.active {
    opacity: 1;
    transform: scale(1) translateX(0) rotateY(0deg);
    pointer-events: auto;
    z-index: 2;
    filter: blur(0);
}

.hero-carousel-slide.prev {
    opacity: 0;
    transform: scale(0.75) translateX(-50px) rotateY(15deg);
    filter: blur(4px);
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: var(--spacing-lg);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.4) 0%, rgba(0, 212, 255, 0.2) 40%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: glow 4s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-carousel-slide.active .image-glow {
    opacity: 1;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: var(--radius-xl);
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: float 6s ease-in-out infinite;
}

.hero-carousel-slide.active .hero-image {
    animation: heroImageEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), float 6s ease-in-out infinite 0.8s;
}

@keyframes heroImageEnter {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px) rotateZ(-5deg);
    }
    50% {
        transform: scale(1.05) translateY(-10px) rotateZ(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateZ(0deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateZ(0deg);
    }
    25% {
        transform: translateY(-15px) rotateZ(1deg);
    }
    50% {
        transform: translateY(-25px) rotateZ(0deg);
    }
    75% {
        transform: translateY(-15px) rotateZ(-1deg);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-label {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* About Section */
.about {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.about-lead {
    font-size: 1.375rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
}

.contract-section {
    margin-top: var(--spacing-xl);
}

.contract-label {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contract-display {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
}

.contract-address {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--color-accent);
    word-break: break-all;
    line-height: 1.5;
    font-weight: 600;
}

[data-theme="light"] .contract-address {
    color: #006644;
}

.copy-button {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-button:hover {
    background: var(--color-surface);
    color: var(--color-text-primary);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    background: var(--color-bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
    background: var(--color-surface);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-display);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-elevated);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    grid-auto-rows: auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    break-inside: avoid;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.15), var(--shadow-lg);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--color-bg);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-bg);
    min-height: 200px;
}

.gallery-item img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

[data-theme="light"] .gallery-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.gallery-action {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.gallery-action::after {
    content: '→';
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-action::after {
    transform: translateX(4px);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.cta-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--gradient-hero);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
}

.cta-label {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.cta-actions {
    margin-bottom: var(--spacing-xl);
}

.cta-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: all 0.2s ease;
}

.cta-link:hover {
    color: var(--color-text-primary);
    border-color: var(--color-border-strong);
    background: var(--color-bg-elevated);
}

.cta-link svg {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-elevated);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-disclaimer {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.footer-disclaimer p {
    color: var(--color-text-tertiary);
    font-size: 0.8125rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--gradient-primary);
    color: var(--color-bg);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }

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

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

    .carousel-wrapper {
        height: 400px;
    }
    
    .slide-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .nav-links {
        gap: var(--spacing-sm);
    }

    .nav-link {
        display: none;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
    }
    
    .theme-icon {
        width: 18px;
        height: 18px;
    }

    .hero {
        padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-2xl);
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .stat-card {
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .stat-value {
        font-size: 1.5rem;
    }

    .hero-carousel-wrapper {
        height: 400px;
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 85%;
    }
    
    .hero-image-wrapper {
        padding: var(--spacing-md);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-lead {
        font-size: 1.125rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .contract-display {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .contract-address {
        font-size: 0.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .gallery-item {
        aspect-ratio: auto;
    }

    .cta-card {
        padding: var(--spacing-xl);
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-links {
        flex-direction: column;
    }
    
    .cta-link {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Smooth scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-item,
    .stat-card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
