/* =========================================
   AGENCY LEVEL DESIGN SYSTEM - REDE ELLAS
   THEME: ULTRA-PREMIUM MINIMALIST
   PALETTE: DEEP BLACK (#050505) & BURGUNDY (#64112F)
   ========================================= */

:root {
    /* Colors */
    --bg-body: #050505;
    --bg-surface: #0a0a0a;
    --primary: #64112F;
    --primary-bright: #961a47;
    --accent: #D4AF37;
    /* Subtle Gold traces */
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Typography - Agency Standards */
    --font-display: 'Work Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-pad: 120px 0;
}

/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-burgundy {
    color: var(--primary-bright);
}

.text-gold {
    color: var(--accent);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Buttons (Sophisticated) --- */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 0.75rem;
    /* Small text */
    font-weight: 600;
    letter-spacing: 0.2em;
    /* Wide tracking */
    text-transform: uppercase;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 17, 47, 0.3);
}

.btn-ghost:hover {
    border-color: var(--text-main);
    background: var(--text-main);
    color: var(--bg-body);
}

/* --- Header (Minimalist & Floating) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: 0.3s;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0));
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.logo span i {
    color: var(--primary-bright);
    font-style: normal;
}

.nav-desktop {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-size: 0.7rem;
    /* Agency Standard: Small text */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    /* Wide spacing */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-bright);
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Hero (CSS Studio Background) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Studio Lighting Effect Gradient */
    background: radial-gradient(circle at center, #1a050d 0%, #050505 70%);
}

.hero::before {
    /* Texture Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-tag {
    display: block;
    color: var(--primary-bright);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 4.5rem;
    /* Big but thin/elegant */
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 40px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Contact Form (Agency Re-refinement) --- */
.contact-section {
    padding: var(--section-pad);
    background: var(--bg-body);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-family: var(--font-body);
    margin-bottom: 20px;
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--primary-bright);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* --- Methodology Strip --- */
.methodology {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    padding: 80px 0;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.method-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.method-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.method-icon {
    font-size: 2rem;
    color: var(--primary-bright);
    margin-bottom: 20px;
}

/* --- Difference (Comparison) --- */
.diff-section {
    padding: var(--section-pad);
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Seamless look */
    border: 1px solid var(--border-subtle);
}

.diff-card {
    padding: 80px 60px;
    background: rgba(255, 255, 255, 0.02);
}

.diff-card.premium {
    background: radial-gradient(circle at top right, #1a050d 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.diff-card h3 {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.diff-list li {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.diff-card.premium .diff-list li {
    color: var(--text-main);
    border-color: rgba(100, 17, 47, 0.3);
}

/* --- About (Clean & Offset) --- */
.about-image-wrapper {
    position: relative;
    /* Controlling size strictly as requested */
    max-width: 450px;
    margin: 0 auto;
}

.about-image-wrapper img {
    filter: grayscale(100%) contrast(1.2);
    transition: 0.5s;
}

.about-image-wrapper:hover img {
    filter: grayscale(0);
}

/* --- Subscription (Glassmorphism) --- */
.club-section {
    background: linear-gradient(180deg, var(--bg-body) 0%, #0f0206 100%);
    text-align: center;
    padding: var(--section-pad);
}

.club-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.price-tag {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 30px 0;
    font-family: var(--font-display);
}

.price-tag small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* --- Footer --- */
.footer {
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-links a:hover {
    color: var(--primary-bright);
}

.social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin: 20px 0;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary-bright);
    transform: translateY(-3px);
}

.whatsapp-float i {
    font-size: 2.2rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .nav-desktop {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-desktop {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-desktop.active {
        right: 0;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .method-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .diff-card {
        padding: 60px 30px;
    }

    /* History Gallery 2 columns on mobile */
    .history-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .about-image-wrapper {
        margin-bottom: 40px;
    }

    .club-card {
        padding: 40px 20px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.22rem;
    }

    .history-grid {
        grid-template-columns: 1fr !important;
    }
}