/* ============================================
   ASPIRE BUILDERS - MAIN STYLESHEET
   Apple-Inspired Design with Poppins
   ============================================ */

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

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary: #0071e3;
    --primary-dark: #0055b3;
    --primary-light: #42a5f5;
    --secondary: #1d1d1f;
    --accent: #00c853;
    --premium-gold: #ffd700;
    --premium-gradient: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-muted: #86868b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-dark: #1d1d1f;
    --bg-glass: rgba(255, 255, 255, 0.72);
    
    --border-light: #d2d2d7;
    --border-lighter: #e8e8ed;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-fast: all 0.15s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.headline-large {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.headline-medium {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.headline-small {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 600;
}

.subheadline {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: var(--text-secondary);
}

.body-large {
    font-size: 19px;
    line-height: 1.5;
}

.body-small {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: #fff;
}

.section-gray {
    background: var(--bg-secondary);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-lighter);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: scale(1.02);
}

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

.btn-secondary:hover {
    background: var(--border-light);
}

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

.btn-outline:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
}

.btn-premium {
    background: var(--premium-gradient);
    color: #000;
    font-weight: 600;
}

.btn-premium:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 113, 227, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 200, 83, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(2%, 2%) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    margin-bottom: 24px;
}

.hero .subheadline {
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-lighter);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-lighter);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-premium {
    border: 2px solid var(--premium-gold);
    position: relative;
}

.card-premium::before {
    content: 'PREMIUM';
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--premium-gradient);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Builder Card */
.builder-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.builder-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.builder-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    object-fit: contain;
    object-position: center;
    background: var(--bg-secondary);
    padding: 4px;
}

.builder-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.builder-location {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.builder-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-tag {
    padding: 4px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.builder-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-lighter);
}

.builder-experience {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-error {
    font-size: 13px;
    color: #ff3b30;
    margin-top: 6px;
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-check-label {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   MODAL / POPUP
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--border-light);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ============================================
   MULTI-STEP FORM
   ============================================ */
.step-form {
    position: relative;
}

.step-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    transition: var(--transition);
}

.step-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: var(--radius-full);
}

.step-dot.completed {
    background: var(--accent);
}

.step-content {
    text-align: center;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.step-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-option {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-option:hover {
    border-color: var(--primary);
}

.step-option.selected {
    border-color: var(--primary);
    background: rgba(0, 113, 227, 0.05);
}

.step-option input {
    display: none;
}

.step-option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-option.selected .step-option-radio {
    border-color: var(--primary);
}

.step-option.selected .step-option-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;
}

.step-actions .btn {
    flex: 1;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    text-align: center;
}

.features-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    text-align: center;
    background: var(--bg-dark);
    color: #fff;
}

.cta h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
    background: var(--premium-gradient);
    padding: 20px;
    text-align: center;
}

.promo-banner p {
    color: #000;
    font-weight: 500;
    margin-bottom: 12px;
}

.promo-banner .btn {
    background: #000;
    color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-lighter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-muted);
}

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

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-lighter);
    padding: 24px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.sidebar-nav {
    margin-top: 32px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 500;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dashboard-main {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    background: var(--bg-secondary);
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 120px 0 60px;
    color: #fff;
}

.profile-header-content {
    display: flex;
    align-items: flex-end;
    gap: 32px;
}

.profile-avatar {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-xl);
    object-fit: contain;
    object-position: center;
    border: 4px solid #fff;
    box-shadow: var(--shadow-lg);
    background: #fff;
    padding: 8px;
}

.profile-info h1 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 8px;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    opacity: 0.9;
}

.profile-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.profile-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.profile-socials a:hover {
    background: #fff;
    color: var(--primary);
}

.profile-body {
    padding: 60px 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.profile-section {
    margin-bottom: 40px;
}

.profile-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.profile-sidebar-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-lighter);
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE - MOBILE FIRST (90% mobile traffic)
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Base adjustments */
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    /* Navigation - Mobile Menu */
    .nav {
        height: 56px;
        padding: 0 16px;
    }
    
    .nav-links {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
        display: none;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--border-lighter);
    }
    
    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 18px;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-actions.mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--border-lighter);
    }
    
    .nav-actions.mobile .btn {
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 16px;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    /* Hero Section - Mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }
    
    .hero h1 {
        margin-bottom: 16px;
    }
    
    .headline-large {
        font-size: 32px;
        line-height: 1.1;
    }
    
    .headline-medium {
        font-size: 26px;
    }
    
    .headline-small {
        font-size: 22px;
    }
    
    .subheadline {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 48px;
        padding-top: 32px;
    }
    
    .hero-stat-value {
        font-size: 36px;
    }
    
    /* Buttons - Larger touch targets */
    .btn {
        padding: 14px 24px;
        font-size: 15px;
        min-height: 48px;
    }
    
    .btn-large {
        padding: 16px 28px;
        font-size: 16px;
        min-height: 52px;
    }
    
    .btn-small {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 40px;
    }
    
    /* Cards - Mobile */
    .card {
        padding: 20px;
        border-radius: var(--radius-md);
    }
    
    .card:hover {
        transform: none;
    }
    
    .builder-card-header {
        gap: 12px;
    }
    
    .builder-avatar {
        width: 56px;
        height: 56px;
    }
    
    .builder-info h3 {
        font-size: 16px;
    }
    
    .builder-location {
        font-size: 13px;
    }
    
    .builder-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .builder-card-footer .btn {
        width: 100%;
    }
    
    /* Features - Mobile */
    .features-header {
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 24px 16px;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    /* Forms - Mobile optimized */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 16px;
        font-size: 16px;
        border-radius: var(--radius-md);
        min-height: 52px;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    /* Modal - Full screen on mobile */
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        margin: 0;
    }
    
    .modal-header {
        padding: 20px 20px 0;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
    }
    
    /* Step form - Mobile */
    .step-content h3 {
        font-size: 20px;
    }
    
    .step-content p {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .step-option {
        padding: 14px 16px;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-actions .btn {
        width: 100%;
    }
    
    /* Footer - Mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-col h4 {
        margin-bottom: 12px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        display: block;
        padding: 8px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Dashboard - Mobile */
    .sidebar {
        position: fixed;
        transform: translateX(-100%);
        z-index: 1001;
        width: 280px;
        transition: var(--transition);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 20px 16px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .dashboard-header h1 {
        font-size: 24px;
    }
    
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-card-value {
        font-size: 24px;
    }
    
    .stat-card-label {
        font-size: 12px;
    }
    
    /* Profile Page - Mobile */
    .profile-header {
        padding: 100px 0 40px;
    }
    
    .profile-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h1 {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }
    
    .profile-location {
        font-size: 15px;
        justify-content: center;
    }
    
    .profile-socials {
        justify-content: center;
    }
    
    .profile-body {
        padding: 40px 0;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .profile-section h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .profile-sidebar-card {
        padding: 20px;
    }
    
    /* CTA Section - Mobile */
    .cta {
        padding: 48px 0;
    }
    
    .cta h2 {
        font-size: 24px;
    }
    
    .cta p {
        font-size: 15px;
        margin-bottom: 24px;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }
    
    .headline-large {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 10px;
    }
    
    .stat-cards {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .platform-tag {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .builder-card-large:hover,
    .project-showcase:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .step-option,
    .platform-option,
    .account-type-option {
        min-height: 56px;
    }
    
    /* Remove hover states that don't work on touch */
    a:hover {
        color: inherit;
    }
}

/* Safe area for notched phones */
@supports (padding-top: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .modal {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none !important; }
.visible { display: block !important; }

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

.w-full { width: 100%; }

/* ============================================
   EMPTY STATE CARD
   ============================================ */
.empty-state-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
}

.empty-state-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.empty-state-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .empty-state-card {
        padding: 40px 20px;
    }
    
    .empty-state-card h3 {
        font-size: 20px;
    }
}

/* ============================================
   COURSE PROMO SECTION
   ============================================ */
.course-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.course-promo-content {
    order: 1;
}

.course-promo-label {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.course-promo-content h2 {
    margin-bottom: 16px;
}

.course-promo-desc {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.course-promo-list {
    list-style: none;
    margin-bottom: 32px;
}

.course-promo-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
}

.course-promo-list i {
    color: var(--accent);
    font-size: 18px;
}

.course-promo-btn {
    width: auto;
}

.course-promo-card {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    order: 2;
}

.course-promo-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.course-promo-card h3 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 8px;
}

.course-promo-card p {
    opacity: 0.85;
    font-size: 15px;
}

.course-promo-price {
    font-size: 48px;
    font-weight: 700;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .course-promo-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .course-promo-card {
        order: 1;
        padding: 40px 24px;
    }
    
    .course-promo-content {
        order: 2;
    }
    
    .course-promo-icon {
        font-size: 56px;
        margin-bottom: 16px;
    }
    
    .course-promo-card h3 {
        font-size: 22px;
    }
    
    .course-promo-price {
        font-size: 40px;
        margin-top: 16px;
    }
    
    .course-promo-desc {
        font-size: 15px;
    }
    
    .course-promo-list li {
        font-size: 15px;
    }
    
    .course-promo-btn {
        width: 100%;
    }
}
