/* public/css/landing.css */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #667eea;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --text-color: #1a202c;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.logo-text {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}



.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* --- Buttons --- */
.btn {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    color: var(--accent-color);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
}

.btn-text {
    background: none;
    color: var(--accent-color);
    padding: 12px 24px;
}

.btn-text:hover {
    text-decoration: underline;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-color);
    margin-bottom: 10px;
}

.btn-outline:hover {
    background: var(--bg-light);
}

/* --- Hero Section --- */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mockup Graphic --- */
.mockup-container {
    max-width: 700px;
    margin: 0 auto;
    perspective: 1000px;
}

/* ... existing styles ... */

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-slides {
    position: relative;
    min-height: 400px;
}

.carousel-slide {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    animation: fadeEffect 0.5s;
}

.carousel-slide.active {
    display: flex;
}

@media (max-width: 768px) {
    .carousel-slide {
        flex-direction: column;
        text-align: center;
    }

    .carousel-slide .feature-text {
        order: 1;
    }

    .carousel-slide .feature-visual {
        order: 2;
    }
}

.carousel-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: color 0.3s;
}

.carousel-btn:hover {
    color: var(--primary-color);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots .dot.active {
    background-color: var(--primary-color);
}

@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* Button Outline Primary */
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    /* Thicker border for visibility */
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.mockup-screen {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: rotateX(2deg);
}

.mockup-header {
    background: #f1f1f1;
    padding: 12px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e1e1e1;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f57;
}

.yellow {
    background: #febc2e;
}

.green {
    background: #28c840;
}

.mockup-body {
    padding: 20px;
    background: #f9f9f9;
    display: flex;
    gap: 20px;
    height: 400px;
}

.dash-sidebar {
    width: 200px;
    background: white;
    border-radius: 8px;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.dash-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-card {
    background: white;
    border-radius: 8px;
    flex: 1;
    box-shadow: var(--shadow-sm);
}

.dash-card.big {
    flex: 2;
}

.dash-row {
    display: flex;
    gap: 20px;
    flex: 1;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

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

/* --- Quotes --- */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quote-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

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

.quote-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 16px;
    color: #333;
}

.quote-author {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* --- Features --- */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-color);
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ccc;
}

.neat-pad {
    width: 300px;
    height: 200px;
    background: #111;
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.neat-pad .screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* --- CTA --- */
.cta-section {
    padding: 100px 0;
    background: black;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: #999;
    margin-bottom: 32px;
    font-size: 1.2rem;
}

.cta-section .btn-primary {
    background: white;
    color: black;
}

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

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    background: #f5f5f7;
    border-top: 1px solid #e1e1e1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand h4,
.footer-brand p {
    margin-bottom: 0;
}

/* --- Feedback & Support Modal --- */
.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

.emoji-rating-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.emoji-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
}

.emoji-rating input {
    display: none;
}

.emoji-rating label {
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.2s;
    filter: grayscale(100%);
    opacity: 0.5;
}

.emoji-rating label:hover,
.emoji-rating input:checked+label {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.2);
}

.emoji-rating input:checked+label {
    transform: scale(1.3);
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    resize: vertical;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    background: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand h4 {
    font-size: 1.2rem;
    margin: 0;
}

.footer-brand p {
    color: var(--secondary-color);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.modal h2 {
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.auth-subtitle {
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #ccc;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.divider span {
    padding: 0 10px;
    font-size: 0.8rem;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.error-message {
    background: #fff2f2;
    color: #d32f2f;
    padding: 10px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .feature-row {
        flex-direction: column;
        text-align: center;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    /* Mobile Nav */
    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-color);
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        display: flex;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--border-color);

        /* Animation styles */
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
        pointer-events: none;
        visibility: hidden;
        /* Changed from flex to none */
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        visibility: visible;
    }

    .nav-links a,
    .nav-links button {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
}



/* --- Wizard Styles --- */
.wizard-progress {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.wizard-progress .dot {
    width: 10px;
    height: 10px;
    background: #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.wizard-progress .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.wizard-step {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.4s ease;
}

.wizard-step.active {
    display: block;
}

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Password Strength & Requirements */
.password-strength {
    height: 5px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.password-strength-bar.weak {
    width: 33%;
    background: linear-gradient(90deg, #ff4757, #ff6b81);
}

.password-strength-bar.medium {
    width: 66%;
    background: linear-gradient(90deg, #ffa502, #ffb733);
}

.password-strength-bar.strong {
    width: 100%;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
}

.strength-text {
    text-align: center;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.strength-text.weak {
    color: #ff4757;
}

.strength-text.medium {
    color: #ffa502;
}

.strength-text.strong {
    color: #4CAF50;
}

.password-requirements {
    background: rgba(102, 126, 234, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.password-requirements h3 {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    padding: 4px 0;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.password-requirements li i {
    font-size: 10px;
    color: #ccc;
    transition: all 0.3s ease;
}

.password-requirements li.met {
    color: #4CAF50;
}

.password-requirements li.met i {
    color: #4CAF50;
}

.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}