
/* ===== PREMIUM FORM STYLES (Login, Register, Contact, etc.) ===== */

/* Container for auth forms (login/register) */
.auth-container {
    max-width: 480px;
    margin: 3rem auto;
    padding: 2rem 2rem 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.auth-container h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.auth-container .alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.auth-container .alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.auth-container .alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.auth-container .alert ul {
    margin: 0;
    padding-left: 1.2rem;
}

/* All form groups */
.form-group {
    margin-bottom: 1.5rem;
}

/* Labels */
.form-group label,
.auth-container label,
.main-content label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

/* Inputs, textareas, selects */
.form-group input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.auth-container input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.main-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.form-group textarea,
.auth-container textarea,
.main-content textarea,
.form-group select,
.auth-container select,
.main-content select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    appearance: none; /* for select */
}

.form-group input:focus,
.auth-container input:focus,
.main-content input:focus,
.form-group textarea:focus,
.auth-container textarea:focus,
.main-content textarea:focus,
.form-group select:focus,
.auth-container select:focus,
.main-content select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Textarea specific */
.form-group textarea,
.auth-container textarea,
.main-content textarea {
    resize: vertical;
    min-height: 100px;
}

/* Select arrow (optional) */
.form-group select,
.auth-container select,
.main-content select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Buttons */
.btn,
.auth-container button[type="submit"],
.main-content button[type="submit"],
.form-group .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2.2rem;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    text-decoration: none;
    width: auto;
}

.btn:hover,
.auth-container button[type="submit"]:hover,
.main-content button[type="submit"]:hover,
.form-group .btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
    box-shadow: none;
}
.btn-secondary:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

/* Auth forms: extra spacing and centre alignment */
.auth-container p {
    text-align: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.auth-container p a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}
.auth-container p a:hover {
    text-decoration: underline;
}

/* Responsive for auth forms */
@media (max-width: 640px) {
    .auth-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    .auth-container h1 {
        font-size: 1.6rem;
    }
    .btn,
    .auth-container button[type="submit"],
    .main-content button[type="submit"] {
        width: 100%;
        justify-content: center;
    }
}

/* Floating labels (optional) – works with .form-group containing input + label after it */
.form-group.floating {
    position: relative;
}

.form-group.floating input,
.form-group.floating textarea {
    padding: 1.2rem 1rem 0.6rem;
}

.form-group.floating label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 0.3rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.2s;
    font-weight: 400;
    font-size: 1rem;
}

.form-group.floating textarea + label {
    top: 1.2rem;
    transform: none;
}

.form-group.floating input:focus + label,
.form-group.floating input:not(:placeholder-shown) + label,
.form-group.floating textarea:focus + label,
.form-group.floating textarea:not(:placeholder-shown) + label {
    top: 0.4rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: #4f46e5;
    background: #ffffff;
    padding: 0 0.4rem;
}

/* ===== NEW PREMIUM HEADER & FOOTER ===== */

.premium-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.premium-header .logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.premium-nav ul {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.premium-nav a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.premium-nav a:hover {
    color: #4f46e5;
}

.premium-nav .btn-primary-nav {
    background: #4f46e5;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
}

.premium-nav .btn-primary-nav:hover {
    background: #4338ca;
    color: #fff;
}

.premium-nav .logout-form {
    display: inline;
}

.premium-nav .logout-form button {
    background: none;
    border: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
}

.premium-nav .logout-form button:hover {
    color: #ef4444;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #111827;
}

/* Footer */
.premium-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #6b7280;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: #6b7280;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #4f46e5;
}

.footer-links h4 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.8rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: #4f46e5;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive header */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .premium-nav {
        display: none;
        width: 100%;
        padding-top: 1rem;
    }
    .premium-nav.open {
        display: block;
    }
    .premium-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .premium-nav .btn-primary-nav {
        display: inline-block;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== PAGE CONTENT STYLES (Privacy, Terms, About, Contact) ===== */

.main-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.main-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.main-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.main-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.main-content ul,
.main-content ol {
    color: #4b5563;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    line-height: 1.7;
}

/* Contact Form */
.main-content form {
    margin-top: 2rem;
}

.main-content .form-group {
    margin-bottom: 1.5rem;
}

.main-content label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.main-content input[type="text"],
.main-content input[type="email"],
.main-content textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
}

.main-content input:focus,
.main-content textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.main-content textarea {
    resize: vertical;
    min-height: 120px;
}

.main-content .btn {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.main-content .btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .main-content .container {
        padding: 1.5rem 1rem;
    }
    .main-content h1 {
        font-size: 2rem;
    }
    .main-content h2 {
        font-size: 1.5rem;
    }
    .main-content p {
        font-size: 1rem;
    }
}


/*new code */

/* ========== GLOBAL RESET & BASE ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #7c3aed;
    --secondary-light: #a78bfa;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.02);
    --shadow-xl: 0 20px 30px -10px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-full: 9999px;
    --transition: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}
h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
p { color: var(--gray-500); font-size: 1.1rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.5rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
}
.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}
.btn-secondary:hover {
    background: var(--gray-200);
}
.btn-lg { padding: 0.9rem 2.5rem; font-size: 1.1rem; }

/* ===== HEADER (sticky) ===== */
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
    padding: 0.5rem 0;
}
.premium-header.scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-bottom-color: var(--gray-200);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo span {
    color: var(--primary);
}
.premium-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.premium-nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.premium-nav a:hover {
    color: var(--primary);
}
.premium-nav .btn-primary-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}
.premium-nav .btn-primary-nav:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.logout-form button {
    background: none;
    border: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: var(--transition);
}
.logout-form button:hover {
    color: #ef4444;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-900);
    padding: 0.2rem;
}

/* ===== FOOTER ===== */
.premium-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer-brand h3 {
    color: var(--white);
    font-size: 1.4rem;
}
.footer-brand p {
    color: var(--gray-400);
    font-size: 0.95rem;
    max-width: 280px;
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
}
.footer-social a {
    color: var(--gray-400);
    font-size: 1.3rem;
    transition: var(--transition);
}
.footer-social a:hover {
    color: var(--white);
}
.footer-links h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li {
    margin-bottom: 0.5rem;
}
.footer-links ul li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links ul li a:hover {
    color: var(--white);
}
.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* ===== PAGE SECTIONS (hero, features, etc.) ===== */
.section {
    padding: 5rem 0;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.section-header h2 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header p {
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* Hero */
.hero {
    padding: 8rem 0 5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding: 0.3rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-description {
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--gray-500);
}
.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-visual {
    display: flex;
    justify-content: center;
}
.dashboard-mockup {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    max-width: 550px;
    width: 100%;
}
.mockup-header {
    padding: 0.8rem 1.2rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    gap: 0.5rem;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.mockup-body {
    padding: 1.5rem;
}
.mockup-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.2rem;
}
.stat-label { font-size: 0.9rem; color: var(--gray-500); }
.stat-value { font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.mockup-findings {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.finding {
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}
.finding.critical { background: #fee2e2; color: #991b1b; }
.finding.high { background: #fef3c7; color: #92400e; }
.finding.medium { background: #dbeafe; color: #1e40af; }
.mockup-cta {
    background: var(--gray-50);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    text-align: center;
    color: var(--primary);
    font-weight: 500;
    border: 1px dashed var(--gray-300);
}

/* Features Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-light);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    margin-bottom: 0.6rem;
}
.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    color: var(--gray-500);
    font-weight: 500;
    font-size: 1rem;
}

/* Workflow */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    text-align: center;
}
.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.step h3 {
    margin-bottom: 0.3rem;
}
.step p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.testimonial-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.2rem 0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-900);
}
.faq-question:hover { color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--gray-500);
    padding: 0 0 0 0;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0.8rem 0 0;
}
.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    padding: 4rem 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.cta-box h2 {
    color: var(--white);
    font-size: 2.5rem;
}
.cta-box p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
}
.cta-box .btn {
    background: var(--white);
    color: var(--primary);
}
.cta-box .btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* ===== FORMS (global) ===== */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    color: var(--gray-900);
    transition: var(--transition);
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.auth-container {
    max-width: 480px;
    margin: 6rem auto 3rem;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.auth-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}
.auth-container .alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.auth-container .alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}
.auth-container .alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}
.auth-container .alert ul { margin: 0; padding-left: 1.2rem; }
.auth-container p {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray-500);
}
.auth-container p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.auth-container p a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero h1 { font-size: 2.8rem; }
    .dashboard-mockup { max-width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .premium-nav {
        display: none;
        width: 100%;
        padding-top: 1rem;
    }
    .premium-nav.open { display: block; }
    .premium-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .premium-nav .btn-primary-nav {
        display: inline-block;
        text-align: center;
    }
    .hero h1 { font-size: 2.2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .workflow-steps { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 2.5rem 1.5rem; }
    .cta-box h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .auth-container { margin: 4rem 1rem; padding: 1.5rem; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; justify-content: center; }
    .stat-number { font-size: 2.5rem; }
}

/* ===== SCROLL ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}


/* ===== DASHBOARD SPECIFIC STYLES ===== */
.dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 80px 1.5rem 2rem;
}

.dashboard-welcome {
    margin-bottom: 2rem;
}
.dashboard-welcome h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}
.dashboard-welcome p {
    color: var(--gray-500);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.stat-card:hover {
    box-shadow: var(--shadow-md);
}
.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.stat-card .stat-label {
    color: var(--gray-500);
    font-weight: 500;
}

.dashboard-section {
    margin-bottom: 2.5rem;
}
.dashboard-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.activity-list {
    list-style: none;
    padding: 0;
}
.activity-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    gap: 1rem;
    font-size: 0.95rem;
}
.activity-time {
    color: var(--gray-500);
    min-width: 100px;
}
.activity-action {
    font-weight: 500;
}
.activity-entity {
    color: var(--gray-500);
}

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Website cards */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.website-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.website-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.website-card:hover {
    box-shadow: var(--shadow-md);
}
.website-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.website-url {
    color: var(--gray-500);
    font-size: 0.9rem;
    word-break: break-all;
    margin-bottom: 0.8rem;
}
.website-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-badge.active { background: #d1fae5; color: #065f46; }
.status-badge.archived { background: #f3f4f6; color: #6b7280; }
.status-badge.unverified { background: #fef3c7; color: #92400e; }
.status-badge.pending { background: #dbeafe; color: #1e40af; }
.status-badge.verified { background: #d1fae5; color: #065f46; }
.status-badge.failed { background: #fee2e2; color: #991b1b; }

.website-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    flex-wrap: wrap;
}
.btn-sm {
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
}
.website-card.archived {
    opacity: 0.7;
}

/* Forms inside dashboard */
.dashboard-form {
    max-width: 600px;
    margin-top: 1rem;
}
.dashboard-form .form-group {
    margin-bottom: 1.5rem;
}
.dashboard-form small {
    display: block;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

/* Project details */
.project-details {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 700px;
    margin: 1.5rem 0;
}
.detail-row {
    display: flex;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-100);
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-label {
    font-weight: 600;
    min-width: 120px;
    color: var(--gray-700);
}
.detail-value {
    color: var(--gray-900);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }
    .website-grid {
        grid-template-columns: 1fr;
    }
    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .detail-row {
        flex-direction: column;
        gap: 0.2rem;
    }
    .detail-label {
        min-width: auto;
    }
}

/* ===== DROPDOWN MENU ===== */
.premium-nav ul li.dropdown {
    position: relative;
}

.premium-nav .dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.premium-nav .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.premium-nav .dropdown:hover .dropdown-arrow,
.premium-nav .dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu – hidden by default */
.premium-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.premium-nav .dropdown:hover .dropdown-menu,
.premium-nav .dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.premium-nav .dropdown-menu li {
    margin: 0;
    padding: 0;
}

.premium-nav .dropdown-menu a,
.premium-nav .dropdown-menu .logout-form button {
    display: block;
    padding: 0.5rem 1.2rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: background 0.15s;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.premium-nav .dropdown-menu a:hover,
.premium-nav .dropdown-menu .logout-form button:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.premium-nav .dropdown-divider {
    margin: 0.3rem 0;
    border: none;
    border-top: 1px solid var(--gray-200);
}

/* Mobile: dropdown becomes a sub-menu */
@media (max-width: 768px) {
    .premium-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 1.5rem;
        opacity: 1;
        transform: none;
        display: none;
    }

    .premium-nav .dropdown.open .dropdown-menu {
        display: block;
    }

    .premium-nav .dropdown-menu a,
    .premium-nav .dropdown-menu .logout-form button {
        padding: 0.4rem 0;
        font-size: 0.95rem;
    }

    .premium-nav .dropdown-menu .logout-form button {
        padding: 0.4rem 0;
    }
}