/* 
 * Stone Global - Cosmic Quiet Black Design System 
 * Version: 2.0 (Mobile-First & Clean)
 */

:root {
    /* --- Color System: Deep Space --- */
    --bg-deep: #000000;
    --bg-subtle: #0a0a0a;
    --bg-card: rgba(28, 28, 30, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-heavy: rgba(20, 20, 20, 0.85);
    
    /* --- Text Colors --- */
    --text-primary: #F5F5F7; /* Apple White */
    --text-secondary: #86868B; /* Apple Gray */
    --text-tertiary: #6e6e73;
    
    /* --- Accents --- */
    --accent-primary: #2997FF; /* Apple Blue */
    --accent-glow: rgba(41, 151, 255, 0.4);
    --accent-gradient: linear-gradient(135deg, #2997FF 0%, #007AFF 100%);
    --accent-silver: #E5E5EA; /* Premium Silver */
    --accent-silver-glow: rgba(229, 229, 234, 0.4);
    
    /* --- Borders --- */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    /* --- Spacing --- */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* --- Radius --- */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* --- Transitions --- */
    --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--duration-fast); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-lg);
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}

.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: var(--space-md); }
.section-title-center { font-size: clamp(2rem, 5vw, 3rem); text-align: center; margin-bottom: var(--space-lg); }
.section-title-large { font-size: clamp(2.2rem, 6vw, 3.5rem); margin-bottom: var(--space-md); }

.section-text, .section-text-large {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}
.section-text-large { font-size: 1.25rem; }
.centered { text-align: center; margin-left: auto; margin-right: auto; max-width: 800px; }

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Safe padding for mobile */
}

.section-padding { padding: var(--space-lg) 0; }
@media (min-width: 768px) { .section-padding { padding: var(--space-xl) 0; } }

.hero-fullscreen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.small-hero { min-height: 50vh; }

/* --- Grid System --- */
.avant-garde-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr; /* Mobile default */
}
@media (min-width: 600px) {
    .avant-garde-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .two-columns { grid-template-columns: repeat(2, 1fr); }
    .three-columns { grid-template-columns: repeat(3, 1fr); }
}

.avant-garde-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}
@media (min-width: 900px) {
    .avant-garde-layout { grid-template-columns: 1fr 1fr; }
    .avant-garde-layout.reverse .content-block { order: 2; }
}

/* --- Components: Glass Card --- */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-fast);
}
.glass-card:hover { border-color: var(--border-highlight); }

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* --- Components: Buttons --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--text-primary);
    color: var(--bg-deep);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--duration-fast);
    border: none;
    cursor: pointer;
    text-align: center;
}
.cta-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.cta-button.secondary {
    background: transparent;
    border: 1px solid var(--border-highlight);
    color: var(--text-primary);
}
.cta-button.secondary:hover {
    background: var(--bg-glass);
    border-color: var(--text-primary);
}

.text-link-arrow {
    color: var(--accent-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}
.text-link-arrow:hover { text-decoration: underline; }

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Desktop Nav */
.desktop-nav-cluster { display: none; } /* Hidden on mobile */
@media (min-width: 900px) {
    .desktop-nav-cluster { display: flex; align-items: center; gap: var(--space-md); }
    .main-nav-desktop ul { display: flex; gap: var(--space-md); }
    .main-nav-desktop a, .mypage-link-desktop { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
    .main-nav-desktop a:hover, .main-nav-desktop a.active,
    .mypage-link-desktop:hover, .mypage-link-desktop.active { color: var(--text-primary); }
}

/* Mobile Nav (Hamburger) */
.mobile-hamburger-container { display: block; }
@media (min-width: 900px) { .mobile-hamburger-container { display: none; } }

.hamburger-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    position: relative;
}
.hamburger-button-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: 0.3s;
}

/* Mobile Menu Drawer */
.hamburger-panel {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 280px;
    height: 100vh;
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 80px 30px 30px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hamburger-panel.active { right: 0; }

.mobile-main-nav ul { display: flex; flex-direction: column; gap: 20px; }
.mobile-main-nav a { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); }

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
body.mobile-menu-active .mobile-menu-backdrop { opacity: 1; pointer-events: auto; }

/* --- MyPage Layout --- */
.mypage-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first */
    gap: var(--space-md);
}
@media (min-width: 900px) {
    .mypage-layout { grid-template-columns: 260px 1fr; }
}

.mypage-sidebar {
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--border-subtle);
}
.mypage-nav li { margin-bottom: 10px; }
.mypage-nav a {
    display: block;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: background 0.2s;
    white-space: nowrap;
}
.mypage-nav a:hover, .mypage-nav a.active-mypage-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* --- MyPage Components & Sections --- */
.mypage-section {
    display: none; /* Hidden by default, JS toggles active */
    animation: fadeIn 0.3s ease-out;
}
.mypage-section.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Profile Section */
.profile-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: 10px;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .profile-form-grid { grid-template-columns: 1fr 1fr; }
}

.passport-warning {
    display: block;
    color: #ff9f0a; /* Apple Orange */
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Membership Section */
.membership-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: 10px;
}

.current-level-summary {
    font-size: 1.1rem;
    color: var(--text-secondary);
}
.highlight-text {
    color: var(--accent-primary);
    font-weight: 700;
}

.membership-progress-container {
    margin-bottom: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.progress-bar-track {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.level-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.glass-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 15px;
    transition: all 0.3s;
}
.glass-card-inner:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}
.current-level-glow {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-glow);
    background: rgba(41, 151, 255, 0.1);
}

/* Effects */
.glow-effect {
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Input Glass Override */
.input-glass {
    background: rgba(0, 0, 0, 0.2) !important;
    border-color: var(--border-subtle);
}
.input-glass:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.4) !important;
}

/* --- Forms & Inputs --- */
input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 15px;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
}
label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 0.9rem; }

/* --- Tables (Responsive) --- */
.history-table-container { overflow-x: auto; }
.history-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Force scroll on small screens */
}
.history-table th, .history-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}
.history-table th { color: var(--text-secondary); font-weight: 500; }

/* --- Auth Pages --- */
.auth-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 30px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

/* --- Icons (SVG) --- */
.svg-icon { width: 48px; height: 48px; color: var(--accent-primary); margin-bottom: 15px; }
.svg-icon-inline { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

/* --- Cosmic Particles --- */
.cosmic-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(41, 151, 255, 0.08) 0%, transparent 80%);
    pointer-events: none;
}

/* --- Utilities --- */
.message { padding: 15px; border-radius: var(--radius-sm); margin-bottom: 20px; text-align: center; }
.error-message { background: rgba(255, 69, 58, 0.1); color: #ff453a; border: 1px solid rgba(255, 69, 58, 0.2); }
.success-message { background: rgba(48, 209, 88, 0.1); color: #30d158; border: 1px solid rgba(48, 209, 88, 0.2); }

/* --- Language Switcher --- */
.language-switcher-wrapper {
    position: relative;
    display: inline-block;
}

.current-lang-display, .current-lang-display-mobile {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast);
    display: flex;
    align-items: center;
    gap: 5px;
}
.current-lang-display:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 5px;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration-fast);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.language-switcher-wrapper:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-link {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background 0.2s;
}
.lang-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Mobile Language Switcher */
.mobile-bottom-controls {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}
.language-dropdown-mobile {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.language-dropdown-mobile .lang-link {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
}

/* --- Theme Switcher --- */
.theme-switcher {
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.theme-switcher:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* --- Services Preview Grid (Index) --- */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
@media (min-width: 768px) {
    .services-preview-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--space-md);
    }
}

.service-preview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-md);
    height: 100%;
}
.service-preview-card .svg-icon {
    margin-bottom: var(--space-sm);
    width: 40px;
    height: 40px;
}
.service-preview-card h3 {
    font-size: 1rem;
    font-weight: 500;
}

/* --- Center Header Fix --- */
.center-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}
.teaser-text.centered {
    margin-left: auto;
    margin-right: auto;
}

/* --- MyPage Sidebar & Navigation --- */

/* Default: Mobile View */
.desktop-sidebar-content { display: none; }
.mobile-tabs-container { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 20px; 
}

/* Desktop View */
@media (min-width: 900px) {
    .desktop-sidebar-content { display: block; }
    .mobile-tabs-container { display: none; }
}

/* Mobile Tabs Styling */
.tabs-wrapper {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.tabs-wrapper::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.mypage-tabs-nav {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.tab-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s;
}
.tab-link.active, .tab-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}
.tab-link svg { margin-right: 6px; }

/* Mobile Dropdown (if used) */
.tabs-more-container {
    position: relative;
    display: block;
    flex-shrink: 0;
}

.tabs-more-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.tabs-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.tabs-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-glass-heavy);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px;
    min-width: 200px;
    z-index: 100;
    display: none; /* Toggled by JS */
}
.tabs-dropdown.show { display: block; }

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}
.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Sidebar Title */
.desktop-sidebar-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

/* --- Service & Inquiry History --- */
.history-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
@media (min-width: 768px) {
    .history-cards-container { display: none; } /* Hide cards on desktop */
    .history-table-container { display: block; } /* Show table on desktop */
}
@media (max-width: 767px) {
    .history-table-container { display: none; } /* Hide table on mobile */
    .history-cards-container { display: grid; } /* Show cards on mobile */
}

.order-card, .inquiry-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 15px;
    transition: all 0.2s;
}
.order-card:hover, .inquiry-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-highlight);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}
.order-id, .inquiry-subject { font-weight: 600; color: var(--text-primary); }
.order-date { font-size: 0.85rem; color: var(--text-secondary); }

.card-body p, .card-body .date-item {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}
.card-body span { color: var(--text-primary); }

.card-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.status-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}
/* Status Colors (Example) */
[data-order-status="completed"] { background: rgba(48, 209, 88, 0.2); color: #30d158; }
[data-order-status="pending"] { background: rgba(255, 159, 10, 0.2); color: #ff9f0a; }
[data-inquiry-status="answered"] { background: rgba(10, 132, 255, 0.2); color: #0a84ff; }

/* --- Google Account Section --- */
.google-account-section {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.google-info { flex: 1; }
.google-info h5 { margin-bottom: 5px; font-size: 1.1rem; }
.google-info p { color: var(--text-secondary); font-size: 0.9rem; }

.google-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: white;
    color: #333;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.2s;
}
.google-btn:hover { transform: scale(1.02); }
.google-btn img { width: 18px; height: 18px; margin-right: 8px; }

.status-badge.linked {
    color: #30d158;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.status-badge.linked::before {
    content: '✓';
    margin-right: 5px;
}

/* --- Rewards Summary --- */
.rewards-summary {
    text-align: center;
    padding: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-subtle);
}
.rewards-summary h5 {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.points-total {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}
.points-total svg {
    width: 32px;
    height: 32px;
    color: var(--accent-primary);
}

/* --- MyPage Header --- */
.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-sm);
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center; /* Centered */
}

.page-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    text-align: center; /* Centered */
    margin-left: auto;
    margin-right: auto;
}

/* --- Modals (Inquiry & Others) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-glass-heavy);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 { margin: 0; font-size: 1.25rem; }

.modal-close-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}
.modal-close-button:hover { color: var(--text-primary); }

.modal-body { padding: 20px; overflow-y: auto; }

.inquiry-section { margin-bottom: 20px; }
.inquiry-section h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
.inquiry-section p {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: var(--radius-sm);
    white-space: pre-wrap;
}
.timestamp { font-size: 0.8rem; font-weight: 400; }

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-subtle);
    text-align: right;
}

/* --- Order Details Page --- */
.details-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px 40px; /* Added top padding to avoid header overlap */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Make it look like a modal on desktop */
@media (min-width: 900px) {
    .details-page-container {
        justify-content: center;
        padding-top: 120px;
    }
    .details-layout {
        background: var(--bg-glass-heavy);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-lg);
        padding: 30px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 30px;
    }
    .page-header {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-subtle);
    }
    /* Remove individual card backgrounds inside the "modal" */
    .details-layout .info-card {
        background: transparent;
        border: none;
        box-shadow: none;
        margin-bottom: 20px;
    }
    .details-layout .info-card-header {
        background: transparent;
        padding: 0 0 10px 0;
        border-bottom: 1px solid var(--border-subtle);
    }
    .details-layout .info-card-body {
        padding: 10px 0;
    }
}

/* --- Password Change Form --- */
.password-change-section {
    margin-top: 30px;
}
.password-change-section h5 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
}

/* --- Premium Silver Icons --- */
.premium-silver-icon {
    color: var(--accent-silver) !important;
}

.premium-silver-icon svg, 
.premium-silver-icon i,
svg.premium-silver-icon {
    filter: drop-shadow(0 0 8px var(--accent-silver-glow));
}


/* --- About Page Overhaul --- */
.about-hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(41, 151, 255, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.about-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-deep));
    pointer-events: none;
    z-index: 1;
}

.about-hero-section {
    position: relative;
    padding-top: 140px; /* Added breathing room from header */
    padding-bottom: 80px;
    text-align: center;
    overflow: hidden;
}

.about-hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--space-sm);
    margin: 0 auto; /* Center alignment */
}

.story-section {
    padding: var(--space-xl) 0;
    position: relative;
}

.story-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    position: relative;
}

.story-block::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-subtle);
    z-index: 0;
}

.story-content {
    margin-left: 50px;
    background: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    transition: transform var(--duration-normal), box-shadow var(--duration-normal);
}

.story-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-primary);
}

.story-marker {
    position: absolute;
    left: 11px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--bg-deep);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-glow);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.team-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    transition: all var(--duration-normal);
}

.team-card:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    transform: scale(1.02);
}

.value-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.value-card-enhanced {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(20,20,20,0.8) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal);
}

.value-card-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-normal);
}

.value-card-enhanced:hover::after {
    opacity: 1;
}

.value-card-enhanced:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

@media (min-width: 768px) {
    .story-block {
        flex-direction: row;
        align-items: flex-start;
    }
    .story-block::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .story-marker {
        left: 50%;
        transform: translateX(-50%);
    }
    .story-content {
        width: 45%;
        margin-left: 0;
    }
    .story-block:nth-child(odd) .story-content {
        margin-left: auto;
    }
    .story-block:nth-child(even) .story-content {
        margin-right: auto;
        text-align: right;
    }
}

/* --- New "Magazine" Layout System --- */

/* Section: The Core (Mission & Vision) */
.core-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
}

.core-title-area {
    text-align: center;
    margin-bottom: var(--space-md);
}

.core-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.mission-card {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.95) 0%, rgba(20, 20, 25, 0.95) 100%);
    border: 1px solid rgba(255,255,255,0.3);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mission-card h3, .vision-card h3 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.mission-card p, .vision-card p {
    color: #e0e0e0;
    font-weight: 500;
}

.vision-card {
    background: linear-gradient(135deg, #050505 0%, #151515 100%);
    border: 1px solid rgba(255,255,255,0.3);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    transform: rotate(45deg);
}

/* Section: The Engine (Zig-Zag) */
.zigzag-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.zigzag-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.zigzag-content {
    flex: 1;
    padding: var(--space-md);
}

.zigzag-visual {
    flex: 1;
    width: 100%;
    min-height: 300px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.zigzag-visual i {
    font-size: 5rem;
    color: var(--accent-primary);
    opacity: 0.8;
    z-index: 2;
}

.zigzag-visual::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0%, var(--accent-glow) 20%, transparent 40%);
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

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

/* Section: The Compass (Bento Grid) */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--duration-normal), border-color var(--duration-normal);
}

.bento-item:hover {
    transform: scale(1.02);
    border-color: var(--accent-primary);
    z-index: 2;
}

.bento-large { grid-column: span 1; grid-row: span 1; }
.bento-tall { grid-column: span 1; grid-row: span 1; }
.bento-wide { grid-column: span 1; grid-row: span 1; }

/* Desktop Enhancements */
@media (min-width: 992px) {
    .core-section {
        grid-template-columns: 1fr 2fr;
        align-items: center;
    }
    .core-title-area {
        text-align: left;
        padding-right: var(--space-lg);
    }
    .core-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .zigzag-row {
        flex-direction: row;
    }
    .zigzag-row:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(300px, auto);
        grid-auto-flow: dense;
    }
    .bento-large { grid-column: span 2; grid-row: span 2; } /* Big square */
    .bento-tall { grid-column: span 1; grid-row: span 2; } /* Tall vertical */
    .bento-wide { grid-column: span 2; grid-row: span 1; } /* Wide horizontal */
    .bento-small { grid-column: span 1; grid-row: span 1; } /* Small square */
    
    /* Specific placement removed for flexibility */
}

/* Typography Enhancements for Magazine Feel */
.display-text {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    color: var(--accent-primary);
    font-weight: 600;
}


/* --- Cosmic Background Enhancement --- */
body {
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(41, 151, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(100, 50, 255, 0.08) 0%, transparent 25%),
        url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3CradialGradient id='a' cx='50%25' cy='50%25' r='50%25' fx='50%25' fy='50%25'%3E%3Cstop offset='0%25' stop-color='%23fff' stop-opacity='0.3'/%3E%3Cstop offset='100%25' stop-color='transparent' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23a)'%3E%3Ccircle cx='5%25' cy='10%25' r='1'/%3E%3Ccircle cx='25%25' cy='45%25' r='1.5'/%3E%3Ccircle cx='60%25' cy='15%25' r='1'/%3E%3Ccircle cx='80%25' cy='65%25' r='1.5'/%3E%3Ccircle cx='45%25' cy='85%25' r='1'/%3E%3Ccircle cx='15%25' cy='95%25' r='1'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
}

/* --- Cosmic Background Enhancement --- */
body {
    background-color: #050505; /* Darker base */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(41, 151, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(100, 50, 255, 0.15) 0%, transparent 40%),
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 100% 100%, 100% 100%, 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    background-attachment: fixed;
}

/* --- Mission & Vision Title Enhancement --- */
.mission-card h3, .vision-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* --- Core Values Bubbles --- */
.values-bubble-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 0;
    position: relative;
}

.value-bubble {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.value-bubble:hover {
    transform: scale(1.1) translateY(-10px);
    background: rgba(41, 151, 255, 0.2);
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px var(--accent-glow);
}

.value-bubble svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #fff;
}

.value-bubble span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

/* Bubble Dialog/Tooltip */
.value-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid var(--accent-primary);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.value-dialog.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.value-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.value-dialog h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.value-dialog p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.value-dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Team Icons White --- */
.glass-card svg {
    color: #fff !important;
}


/* --- Homepage Hero Cosmic Background Only --- */
.home-hero-cosmic {
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(41, 151, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(100, 50, 255, 0.15) 0%, transparent 40%),
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 100% 100%, 100% 100%, 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    position: relative;
}

/* Mask for soft transition at bottom of hero */
.home-hero-cosmic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-deep));
    pointer-events: none;
    z-index: 1;
}

/* Reset Body Background to simple dark */
body {
    background-image: none;
    background-color: var(--bg-deep);
}

/* --- Swiper Pagination High Contrast --- */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.swiper-pagination-bullet-active {
    background: var(--accent-primary) !important;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* --- About Page Floating Bubbles Animation --- */
@keyframes floatBubble {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.value-bubble {
    animation: floatBubble 6s ease-in-out infinite;
}
.value-bubble:nth-child(odd) { animation-duration: 7s; animation-delay: 1s; }
.value-bubble:nth-child(even) { animation-duration: 5s; animation-delay: 0.5s; }

/* --- Liquid Glass Modal --- */
.value-dialog {
    width: auto;
    min-width: 300px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}

.value-dialog h3 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* --- Cosmic Glow on Hover/Scroll --- */
.cosmic-glow-target {
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}
.cosmic-glow-target:hover, .cosmic-glow-target.visible {
    box-shadow: 0 0 25px var(--accent-glow);
    border-color: var(--accent-primary);
}


/* --- About Page: Random Floating Bubbles --- */
@keyframes floatBubble1 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(15px, -25px); }
    50% { transform: translate(-10px, -40px); }
    75% { transform: translate(-20px, -15px); }
    100% { transform: translate(0, 0); }
}
@keyframes floatBubble2 {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-20px, 30px); }
    66% { transform: translate(15px, 15px); }
    100% { transform: translate(0, 0); }
}
@keyframes floatBubble3 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
    100% { transform: translate(0, 0); }
}
@keyframes floatBubble4 {
    0% { transform: translate(0, 0); }
    40% { transform: translate(-25px, -25px); }
    80% { transform: translate(10px, 10px); }
    100% { transform: translate(0, 0); }
}

.value-bubble:nth-child(1) { animation: floatBubble1 12s ease-in-out infinite; }
.value-bubble:nth-child(2) { animation: floatBubble2 15s ease-in-out infinite; }
.value-bubble:nth-child(3) { animation: floatBubble3 13s ease-in-out infinite; }
.value-bubble:nth-child(4) { animation: floatBubble4 16s ease-in-out infinite; }

/* --- About Page: Expert Team Breathing Room & Glow --- */
.expert-team-container {
    display: flex;
    justify-content: center;
    gap: 40px; /* Increased from 20px */
    margin-top: 60px;
    flex-wrap: wrap;
}

.cosmic-glow-target:hover, .cosmic-glow-target.visible {
    box-shadow: 0 0 15px rgba(41, 151, 255, 0.3); /* Reduced opacity */
    border-color: rgba(41, 151, 255, 0.5);
}

/* --- Services Page: Holistic Growth Cycle Cosmic Text --- */
.holistic-cycle-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    /* overflow: hidden; Removed to allow line extension */
}

.holistic-text-glow {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.holistic-text-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.6) 0%, rgba(140, 80, 255, 0.4) 40%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

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

/* Service Card Cosmic Glow */
.service-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at 50% 0%, rgba(41, 151, 255, 0.75), transparent 70%), rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Line Progress Styles */
.connection-line-container {
    position: absolute;
    left: 50%;
    top: -60px; /* Pull up to connect with text */
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    z-index: 0;
}

.connection-line-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* Dim track */
}

.connection-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* JS will animate this */
    background: linear-gradient(to bottom, var(--accent-primary), #fff);
    box-shadow: 0 0 10px var(--accent-primary);
    transition: height 0.1s linear;
}

/* Cursor Head for the line */
.connection-line-progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #fff, 0 0 30px var(--accent-primary);
}

/* Contact File Upload Styles */
.file-remove-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

.file-remove-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    color: #ff3b30;
    border-color: rgba(255, 59, 48, 0.3);
    transform: scale(1.1);
}

.uploaded-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.uploaded-file-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

