/* 
 * Atlantean Crown (ATC) - Premium Crypto Theme 
 * Modern, Dark, Glassmorphism
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #050511;
    --bg-card: rgba(20, 20, 35, 0.6);
    --primary: #00f0ff; /* Electric Cyan */
    --secondary: #7000ff; /* Deep Violet */
    --accent: #ffd700; /* Gold */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shine: rgba(255, 255, 255, 0.05);
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    color: white;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Animated Background */
#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

/* Header / Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(5, 5, 17, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: var(--glass-border);
    height: 70px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.header.scrolled .navbar { height: 70px; }

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-muted);
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; 
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Floating Elements Animation in Hero */
.floating-coin {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent), #b8860b);
    box-shadow: 0 0 20px var(--accent);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.coin-1 { top: 20%; left: 10%; animation-delay: 0s; }
.coin-2 { bottom: 15%; right: 10%; width: 40px; height: 40px; animation-delay: 2s; }
.coin-3 { top: 15%; right: 20%; width: 30px; height: 30px; animation-delay: 4s; }

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(0, 240, 255, 0.2);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img, .about-content {
    flex: 1;
}

.about-img img {
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.af-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.af-item i {
    color: var(--accent);
    background: rgba(255, 215, 0, 0.1);
    padding: 10px;
    border-radius: 50%;
}

/* Stats Counter */
.stats {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
    padding: 60px 0;
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--bg-card);
    border-radius: 20px;
    border: var(--glass-border);
    overflow: hidden;
}

.contact-info {
    background: var(--gradient-main);
    padding: 50px 40px;
    color: var(--bg-dark);
}

.contact-info h3 { margin-bottom: 20px; color: white; }
.contact-info ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

.contact-form {
    padding: 50px 40px;
}

.form-group { margin-bottom: 20px; }
.form-control {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: #020205;
    padding: 80px 0 30px;
    border-top: var(--glass-border);
}

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

.footer-logo img { width: 150px; margin-bottom: 20px; }
.footer-text { color: var(--text-muted); margin-bottom: 20px; }

.footer-widget h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero h1 { font-size: 3rem; }
    .about-wrapper { flex-direction: column; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .hamburger { display: block; z-index: 1001; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: rgba(5, 5, 17, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
    }
    .nav-links.active { right: 0; }
    .header-actions { display: none; } /* Hide heavy actions on mobile, maybe move into menu later if needed */
}

@media (max-width: 576px) {
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}
