/* ==========================================================================
   GT SMARTAX - UNIFIED DESIGN SYSTEM (Shadcn-like)
   ========================================================================== */

/* 1. CSS VARIABLES & THEME SETUP
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --primary: #051F20;             /* GT Deep Green */
    --primary-foreground: #ffffff;
    
    /* UI Colors (Slate Scale) */
    --background: #f8fafc;       /* Page Background (Very Light) */
    --surface: #ffffff;          /* Card/Modal Background */
    --foreground: #0f172a;       /* Main Text Color */
    --muted: #f1f5f9;            /* Secondary Backgrounds */
    --muted-foreground: #64748b; /* Secondary Text */
    --border: #e2e8f0;           /* Subtle Borders */
    
    /* Feedback Colors */
    --danger: #ef4444;
    --danger-bg: #fef2f2;
    --success: #10b981;
    --success-bg: #ecfdf5;

    /* Spacing & Shape */
    --radius: 0.5rem;            /* 8px Rounded Corners */
    --container-width: 1200px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* 2. GLOBAL RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* 3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    flex: 1; /* Pushes footer to bottom */
}

/* 4. NAVBAR (Updated)
   -------------------------------------------------------------------------- */
.navbar {
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
    backdrop-filter: blur(10px);            /* Frosted glass effect */
    border-bottom: 1px solid var(--border);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;        
    width: auto;        
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 0.75rem;
}

/* 5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background-color: #083335; 
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border);
    color: var(--foreground);
}
.btn-outline:hover {
    background-color: var(--muted);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-xl {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* 6. FORMS & INPUTS
   -------------------------------------------------------------------------- */
.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--foreground);
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 31, 32, 0.1);
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-group i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    font-size: 1.1rem;
    pointer-events: none;
}

.input-group .form-control {
    padding-left: 2.5rem;
}

/* 7. AUTH PAGES (Classic Login)
   -------------------------------------------------------------------------- */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    padding: 2rem 1rem;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.auth-header p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

/* 8. ALERTS
   -------------------------------------------------------------------------- */
.alert {
    padding: 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    background-color: var(--danger-bg);
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success {
    background-color: var(--success-bg);
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* 9. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    background: 
        linear-gradient(rgba(5, 31, 32, 0.92), rgba(5, 31, 32, 0.95)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-text p {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.375rem 0.75rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4ade80;
    margin-bottom: 1.5rem;
}

.btn-ghost-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.btn-ghost-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.hero-visual {
    position: relative;
    z-index: 10;
    animation: slideUp 0.8s ease-out forwards;
}

.hero-img {
    height: 500px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

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

@media (max-width: 900px) {
    .hero-visual { display: none; }
}

/* 10. FEATURES & PROCESS
   -------------------------------------------------------------------------- */
.features-section {
    padding: 5rem 0;
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.icon-box {
    width: 3rem;
    height: 3rem;
    background-color: rgba(5, 31, 32, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background-color: #f8fafc;
    border-top: 1px solid var(--border);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-content-card h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    margin-top: 2rem;
}

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

.step-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    background: #f8fafc;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.process-image-card {
    position: relative;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.process-image-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.process-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.floating-caption {
    position: absolute;
    bottom: -1.5rem;
    right: 2rem;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--primary);
    color: #cbd5e1;
    padding: 4rem 0 1.5rem 0;
    font-size: 0.95rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.2s;
}

.social-links a:hover {
    background: #4ade80;
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4, 
.footer-contact h4 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-links ul, 
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #cbd5e1; transition: color 0.2s; }
.footer-links a:hover { color: #4ade80; padding-left: 5px; }

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact i { color: #4ade80; font-size: 1.25rem; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

.security-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
}

/* 15. SLICK AUTH LAYOUT (Spacious & Responsive)
   -------------------------------------------------------------------------- */
.auth-split-layout {
    display: flex;
    min-height: 100vh;
    background: #fff;
    width: 100%;
}

/* LEFT PANEL (Branding) */
.auth-branding-panel {
    flex: 1;
    background-color: var(--primary);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    color: #fff;
    overflow: hidden;
}

.branding-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: 0;
}

.branding-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.branding-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.branding-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.branding-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.mini-testimonial {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.mini-testimonial .stars { color: #fbbf24; margin-bottom: 0.5rem; }
.mini-testimonial p { margin-bottom: 0.5rem; font-style: italic; font-size: 0.95rem; }
.mini-testimonial span { font-weight: 600; font-size: 0.85rem; }

.branding-footer {
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    font-size: 0.85rem;
    opacity: 0.6;
    z-index: 2;
}

/* RIGHT PANEL (Form) */
.auth-form-panel {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    background: #fff;
    overflow-y: auto;
}

.auth-form-container {
    width: 100%;
    max-width: 480px;
}

.mobile-header { display: none; }

.form-header { margin-bottom: 2.5rem; }
.form-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.form-header p { font-size: 1.05rem; color: var(--muted-foreground); }

/* Slick Inputs */
.slick-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
    height: 54px;
}

.slick-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(5, 31, 32, 0.08);
    outline: none;
}

.form-group { margin-bottom: 1.75rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.6rem; color: #1e293b; }
.form-row { display: flex; gap: 1.5rem; }
.form-row .form-group { flex: 1; }

/* Account Type Cards (Clean Tile Design) */
.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.account-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.type-card {
    position: relative;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;