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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111;
    background: #f5f5f5;
}

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

.italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.section-label {
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;
    color: #777;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* NAVBAR — LUXURY */
.navbar {
    padding: 18px 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-ct { display: flex; align-items: center; }
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 700;
    letter-spacing: 7px; color: #0a0a0a;
}
.ct-monogram { position: relative; display: inline-block; width: 44px; height: 44px; }
.ct-c {
    position: absolute; left: 0; top: 0;
    font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700;
    -webkit-text-stroke: 1.8px #0a0a0a; -webkit-text-fill-color: transparent;
    transform: rotate(90deg); transform-origin: 22px 22px; line-height: 1;
}
.ct-t {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700;
    color: #0a0a0a; line-height: 1;
}
.nav-links { list-style: none; display: flex; gap: 24px; align-items: center; }
.nav-links a {
    text-decoration: none; color: #666; font-size: 12px; font-weight: 500;
    letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s;
    position: relative; padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0;
    height: 1.5px; background: #c9a84c; transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover { color: #0a0a0a; }
.nav-links a:hover::after { width: 100%; }

.btn-primary {
    background: #0a0a0a; color: #fff; padding: 10px 24px; border-radius: 0;
    text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; transition: all 0.3s; display: inline-block; border: none;
}
.btn-primary:hover { background: #c9a84c; transform: translateY(-1px); }

.btn-secondary {
    background: transparent; color: #0a0a0a; padding: 10px 24px; border-radius: 0;
    text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; border: 1px solid #ddd; transition: all 0.3s;
}
.btn-secondary:hover { border-color: #c9a84c; color: #c9a84c; }

.btn-large {
    padding: 16px 40px; font-size: 12px; letter-spacing: 3px;
}

.btn-outline {
    background: transparent; color: rgba(255,255,255,0.8); padding: 16px 40px;
    border-radius: 0; font-size: 12px; font-weight: 500;
    letter-spacing: 3px; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.2); transition: all 0.4s; display: inline-block;
}
.btn-outline:hover { border-color: #c9a84c; color: #c9a84c; }

/* HERO */
.hero {
    position: relative;
    min-height: 620px;
    color: #fff;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 500%;
    height: 100%;
    animation: slide 16s infinite;
}

.slide {
    width: 20%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 140px 24px 120px;
}

.hero-label {
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero h1 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes slide {
    0%, 15% { transform: translateX(0); }
    20%, 35% { transform: translateX(-20%); }
    40%, 55% { transform: translateX(-40%); }
    60%, 75% { transform: translateX(-60%); }
    80%, 95% { transform: translateX(-80%); }
    100% { transform: translateX(0); }
}

/* MISSION */
.mission {
    padding: 100px 0;
    background: #fff;
}

.mission-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.mission h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.mission h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #555;
}

.mission-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    font-weight: 400;
}

/* BRANDS */
.brands {
    padding: 48px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.brands p {
    text-align: center;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

.brand-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.brand-logos span {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    letter-spacing: 2px;
    transition: color 0.3s;
    white-space: nowrap;
}

.brand-logos span:hover {
    color: #111;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 100px 0;
    text-align: center;
    background: #f0f0f0;
}

.how-it-works h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 56px;
}

.how-it-works h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #888;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 280px;
    padding: 0 24px;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: #ddd;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.step-divider {
    width: 1px;
    height: 80px;
    background: #ccc;
    margin-top: 48px;
}

/* FEED */
.feed {
    padding: 100px 0;
    background: #fff;
}

.feed h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.feed h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #555;
}

.feed .section-label {
    margin-bottom: 8px;
}

.outfit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.outfit-card {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.outfit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.outfit-photo {
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
}

.outfit-info {
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.outfit-author {
    font-size: 13px;
    font-weight: 700;
}

.outfit-items {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.outfit-like {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: #111;
    text-align: center;
    color: #fff;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.cta h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
}

.cta p {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    margin-bottom: 32px;
}

.cta .btn-primary {
    background: #fff;
    color: #111;
}

.cta .btn-primary:hover {
    background: #f0f0f0;
}

/* FOOTER */
.footer {
    padding: 60px 0 20px;
    background: #f0f0f0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.footer-logo .ct-monogram {
    width: 40px;
    height: 40px;
}

.footer-logo .ct-c {
    font-size: 36px;
    left: 0;
    top: 0;
    -webkit-text-stroke: 1.5px #111;
    transform: rotate(90deg);
    transform-origin: 20px 20px;
}

.footer-logo .ct-t {
    font-size: 28px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #111;
}

.footer-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #111;
}

.footer h5 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 16px;
}

.footer p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.footer a {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer a:hover {
    color: #111;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: 24px;
    border-top: 1px solid #ddd;
}

/* DARK MODE */
body.dark, .dark .navbar, .dark .page-header, .dark .page-section,
.dark .filter-bar, .dark .mission, .dark .brands, .dark .feed,
.dark .how-it-works, .dark .footer, .dark .brands-section,
.dark .team-card, .dark .brand-hero, .dark .stats-row,
.dark .about-section, .dark .featured-outfits, .dark .brand-card,
.dark .outfit-card, .dark .product-item, .dark .team-section,
.dark .auth-wrapper, .dark .auth-form, .dark .profile-header,
.dark .profile-sidebar, .dark .profile-msg.success {
    background: #1a1a1a !important;
    color: #eee;
    border-color: #333;
}
.dark .navbar { border-bottom-color: #333; }
.dark .logo-text, .dark .ct-t { color: #fff !important; }
.dark .ct-c { -webkit-text-stroke-color: #fff !important; }
.dark .nav-links a { color: #888; }
.dark .nav-links a:hover { color: #fff; }
.dark .nav-links a::after { background: #c9a84c; }
.dark .outfit-author, .dark .footer a, .dark .profile-menu a,
.dark .back-link, .dark .brand-card h3 { color: #ccc; }
.dark .nav-links a:hover, .dark .profile-menu a:hover { color: #fff; }
.dark .outfit-card, .dark .product-item, .dark .brand-card,
.dark .team-card { background: #252525 !important; }
.dark .outfit-photo { background-color: #333; }
.dark p, .dark .outfit-items, .dark .footer p, .dark .step p,
.dark .brands p, .dark .auth-form p, .dark .form-group label { color: #999; }
.dark h1, .dark h2, .dark h3, .dark .auth-form h2,
.dark .profile-info h1, .dark .outfit-hero-info h1 { color: #fff; }
.dark .filter-select, .dark .search-bar input, .dark .form-group input,
.dark .profile-form input, .dark .profile-form textarea {
    background: #333; color: #eee; border-color: #444;
}
.dark .filter-select:focus, .dark .search-bar input:focus { border-color: #888; }
.dark .btn-secondary { border-color: #555; color: #ddd; }
.dark .btn-secondary:hover { border-color: #fff; color: #fff; }
.dark .profile-menu a.active, .dark .profile-menu a:hover { background: #333; color: #fff; }
.dark .footer, .dark .how-it-works { background: #151515 !important; }
.dark .footer h5, .dark .section-label { color: #777; }
.dark .footer a:hover { color: #fff; }
.dark .step-divider { background: #333; }
.dark .step-number { color: #333; }
.dark .footer-bottom, .dark .outfit-like, .dark .brand-logos span { color: #666; }
.dark .brand-logos span:hover { color: #fff; }
.dark .back-link:hover, .dark .public-profile-link:hover { color: #fff; }
.dark .outfit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.dark .brand-hero, .dark .stats-row, .dark .about-section,
.dark .team-section, .dark .featured-outfits { border-color: #333; }
.dark .outfit-author-link { color: #999 !important; }
.dark .outfit-author-link:hover { color: #fff !important; }

/* DARK MODE TOGGLE */
.dark-toggle {
    background: none; border: none; font-size: 18px; cursor: pointer;
    padding: 4px 8px; border-radius: 8px; transition: background 0.2s;
}
.dark-toggle:hover { background: #f0f0f0; }
.dark .dark-toggle:hover { background: #333; }

/* SCROLL TO TOP */
#scrollTopBtn:hover { background: #c9a84c; color: #fff; transform: translateY(-2px); }
.dark #scrollTopBtn { background: #333; }
.dark #scrollTopBtn:hover { background: #c9a84c; }

/* TOAST ANIMATION */
@keyframes toastIn { from { opacity:0; transform:translateX(-50%) translateY(20px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }

/* HAMBURGER MENU */
#burgerMenu { width: 36px; height: 36px; position: relative; flex-shrink: 0; }
#burgerMenu span { display: block; position: absolute; height: 2px; width: 20px; background: #0a0a0a; border-radius: 2px; left: 8px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
#burgerMenu span:nth-child(1) { top: 11px; }
#burgerMenu span:nth-child(2) { top: 17px; }
#burgerMenu span:nth-child(3) { top: 23px; }
#burgerMenu.open span:nth-child(1) { transform: rotate(45deg); top: 17px; }
#burgerMenu.open span:nth-child(2) { opacity: 0; }
#burgerMenu.open span:nth-child(3) { transform: rotate(-45deg); top: 17px; }
.dark #burgerMenu span { background: #fff; }

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) { .outfit-grid { grid-template-columns: repeat(3, 1fr); } .brand-grid { grid-template-columns: repeat(3, 1fr); } .team-grid { grid-template-columns: repeat(3, 1fr); } .hero h1 { font-size: 56px; } .hero h1 span { font-size: 52px; } }

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    #burgerMenu { display: block !important; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 80px 24px 32px; box-shadow: -4px 0 24px rgba(0,0,0,0.1); transition: right 0.35s cubic-bezier(0.4,0,0.2,1); z-index: 150; overflow-y: auto; }
    .nav-links.open { right: 0; }
    .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
    .nav-links a, .nav-links button { font-size: 14px !important; width: 100%; display: block; padding: 8px 0; }
    .dark .nav-links { background: #1a1a1a; } .dark .nav-links li { border-bottom-color: #333; }
    .hero { min-height: 60vh; } .hero .container { padding: 100px 16px 60px !important; }
    .hero h1 { font-size: 36px !important; } .hero h1 span { font-size: 32px !important; }
    .hero-label { font-size: 9px; letter-spacing: 4px; margin-bottom: 16px; }
    .hero-desc { font-size: 13px; line-height: 1.6; max-width: 100%; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn-primary, .hero-buttons .btn-outline { width: 100%; text-align: center; padding: 14px 24px; font-size: 11px; }
    .splash-options { flex-direction: column; } .splash-card { flex: auto; height: 33.3vh; } .splash-card:hover { flex: 1.5; } .splash-card .label h3 { font-size: 20px; letter-spacing: 4px; }
    .outfit-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .outfit-photo { aspect-ratio: 3/4; } .outfit-info { padding: 12px; } .outfit-author { font-size: 11px; }
    .feed, .mission, .how-it-works { padding: 56px 0; }
    .mission h2, .how-it-works h2, .feed h2 { font-size: 24px; } .mission-desc { font-size: 13px; }
    .steps { flex-direction: column; gap: 32px; } .step { max-width: 100%; padding: 0; } .step-divider { display: none; }
    .step-number { font-size: 40px; } .step h3 { font-size: 14px; } .step p { font-size: 12px; }
    .brand-logos { gap: 16px; } .brand-logos span { font-size: 11px; letter-spacing: 2px; }
    .cta { padding: 56px 0; } .cta h2 { font-size: 22px; } .cta p { font-size: 13px; }
    .footer { padding: 40px 0 16px; } .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .page-header { padding: 60px 0 24px; } .page-header h1 { font-size: 22px; } .page-section { padding: 20px 0; }
    .outfit-hero { grid-template-columns: 1fr; gap: 16px; } .outfit-hero-photo { height: 350px; } .outfit-hero-info h1 { font-size: 24px; }
    .profile-header { flex-direction: column; text-align: center; gap: 12px; padding: 20px 0; }
    .profile-body { grid-template-columns: 1fr; gap: 20px; } .profile-avatar { width: 64px; height: 64px; font-size: 24px; }
    .profile-stats { justify-content: center; gap: 20px; } .outfit-mini-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .auth-wrapper { flex-direction: column; gap: 20px; } .auth-visual { display: none; } .auth-form { max-width: 100%; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .brand-section h2 { font-size: 18px; }
    .about-grid { grid-template-columns: 1fr; } .about-visual { height: 200px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .brand-hero h1 { font-size: 28px; }
    .stats-row { gap: 12px; flex-wrap: wrap; } .stat-item .num { font-size: 20px; }
    .filter-bar { top: 0; } .filter-group { gap: 8px; } .filter-select { font-size: 11px; padding: 8px 10px; }
    .search-bar { flex-direction: column; gap: 8px; } .search-bar input, .search-bar button { width: 100%; }
    .creator-grid { grid-template-columns: 1fr; gap: 24px; } .creator-canvas { aspect-ratio: 1/1; max-height: 400px; } .product-select { grid-template-columns: repeat(3, 1fr); }
    .action-bar { flex-direction: column; } .action-bar button { width: 100%; padding: 12px 20px; font-size: 12px; }
    .comment-input-wrap { flex-direction: column; } .comments-box { padding: 16px 0; }
    .search-big { flex-direction: column; } .search-tabs { flex-wrap: wrap; gap: 4px; }
    .admin-grid { grid-template-columns: repeat(2, 1fr); } .admin-table { display: block; overflow-x: auto; }
    .cart-item { padding: 12px; } .cart-thumb { width: 48px; height: 48px; }
    .reset-box { margin: 20px auto; padding: 0 16px; }
    .result-item { padding: 12px; } .result-photo { width: 56px; height: 56px; }
    .blog-card { padding: 16px; } .challenge-card { padding: 16px; }
    .btn-primary, .btn-secondary, button { min-height: 44px; }
    a.outfit-author-link { padding: 8px 0; display: inline-block; }
}

@media (max-width: 480px) {
    .logo-text { font-size: 15px; letter-spacing: 4px; }
    .ct-monogram { width: 36px; height: 36px; } .ct-c { font-size: 32px; transform-origin: 18px 18px; } .ct-t { font-size: 24px; }
    .navbar { padding: 10px 0; }
    .hero { min-height: 50vh; } .hero .container { padding: 80px 16px 48px !important; }
    .hero h1 { font-size: 26px !important; } .hero h1 span { font-size: 24px !important; }
    .outfit-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .outfit-info { padding: 8px 10px 6px; } .outfit-author { font-size: 10px; } .outfit-items { font-size: 10px; } .outfit-like { font-size: 10px; }
    .product-select { grid-template-columns: repeat(2, 1fr); }
    .profile-stats span { font-size: 11px; }
    .btn-primary, .btn-secondary { padding: 10px 16px; font-size: 10px; letter-spacing: 1px; min-height: 40px; }
    .btn-large { padding: 12px 24px; font-size: 11px; }
    .splash-card .label h3 { font-size: 16px; letter-spacing: 3px; }
}
