/* ============================================ */
/* GLOBAL VARIABLES - Clean, Modern SaaS */
/* ============================================ */
:root {
    --primary-dark: #0f172a;
    --primary: #1e293b;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.08);
    --success: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --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.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --touch-min: 44px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: var(--gray-800);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================ */
/* HEADER (STICKY) */
/* ============================================ */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    color: var(--accent);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    min-width: 500px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dropdown-group h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.dropdown-group a {
    display: block;
    padding: 0.5rem 0;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.dropdown-group a:hover {
    color: var(--accent);
}

.auth-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-login, .btn-signup {
    padding: 0.5rem 1.25rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-height: var(--touch-min);
}

.btn-login {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-login:hover {
    background: var(--gray-100);
}

.btn-signup {
    background: var(--accent);
    color: white;
}

.btn-signup:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
    min-height: var(--touch-min);
    min-width: var(--touch-min);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 65%;
    max-width: 320px;
    height: 100%;
    background: white;
    z-index: 1002;
    padding: 1.5rem;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-logo {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
    min-height: var(--touch-min);
    min-width: var(--touch-min);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.mobile-dropdown {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-800);
    cursor: pointer;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 1rem;
}

.mobile-dropdown.open .mobile-dropdown-content {
    max-height: 400px;
}

.mobile-dropdown-content a {
    display: block;
    padding: 0.6rem 0;
    font-size: 0.875rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-dropdown-content a:hover {
    color: var(--accent);
}

.mobile-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 1rem 0;
}

.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.mobile-btn-login, .mobile-btn-signup {
    padding: 0.75rem;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    min-height: var(--touch-min);
}

.mobile-btn-login {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.mobile-btn-signup {
    background: var(--accent);
    color: white;
    border: none;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff, var(--gray-50));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.search-container {
    margin-bottom: 2rem;
}

.search-wrapper {
    position: relative;
    margin-bottom: 0.75rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 2.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 60px;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
    min-height: var(--touch-min);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-height: calc(var(--touch-min) - 0.5rem);
}

.search-btn:hover {
    background: var(--accent-dark);
}

.search-hint {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.hero-visual {
    position: relative;
}

.dashboard-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.live-badge {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
}

.dashboard-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    height: 150px;
    margin-bottom: 1.5rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent), var(--accent-light));
    border-radius: 4px 4px 0 0;
}

.dashboard-stats {
    display: flex;
    gap: 1rem;
}

.mini-stat {
    flex: 1;
    background: var(--gray-50);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
}

.mini-stat span {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.mini-stat strong {
    font-size: 0.875rem;
    color: var(--gray-800);
}

/* ============================================ */
/* TRUST SECTION */
/* ============================================ */
.trust-section {
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.trust-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-logos span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    opacity: 0.7;
}

/* ============================================ */
/* TOOLS PREVIEW SECTION */
/* ============================================ */
.tools-preview {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tool-category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.tool-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tool-header i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 32px;
    transition: transform 0.2s;
}

.tool-category-card:hover .tool-header i {
    transform: scale(1.05);
}

.tool-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--gray-800);
}

.tool-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-features-list {
    list-style: none;
    margin-bottom: 1.25rem;
}

.tool-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    padding: 0.3rem 0;
    transition: all 0.2s ease;
}

.tool-features-list li i {
    font-size: 0.7rem;
    color: var(--accent);
    width: 16px;
}

.tool-features-list li:hover {
    transform: translateX(4px);
    color: var(--accent);
}

.tool-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s ease;
}

.tool-link:hover {
    gap: 0.5rem;
}

/* ============================================ */
/* VALUE SECTION */
/* ============================================ */
.value-section {
    padding: 5rem 0;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-grid.reverse {
    direction: rtl;
}

.value-grid.reverse .value-content {
    direction: ltr;
}

.value-badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.value-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.value-list {
    list-style: none;
    margin-bottom: 2rem;
}

.value-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.value-list li i {
    color: var(--success);
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-height: var(--touch-min);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-height: var(--touch-min);
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.value-image {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

/* ============================================ */
/* FAQ SECTION */
/* ============================================ */
.faq-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: white;
    border: none;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1rem;
    color: var(--gray-800);
    min-height: var(--touch-min);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--accent);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 1.25rem 1rem 1.25rem;
}

.faq-answer p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ============================================ */
/* CTA SECTION */
/* ============================================ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-50), white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: var(--accent);
    color: white;
}

.cta-buttons .btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.cta-buttons .btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, white, var(--gray-300));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 250px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--gray-400);
    font-size: 1.125rem;
    transition: color 0.2s;
    min-height: var(--touch-min);
    min-width: var(--touch-min);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: white;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    display: inline-block;
    min-height: 32px;
    line-height: 32px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 2rem;
}

.footer-divider {
    height: 1px;
    background: var(--gray-800);
    margin-bottom: 1.5rem;
}

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .search-wrapper {
        flex-direction: column;
        position: relative;
    }
    
    .search-input {
        padding-right: 1rem;
    }
    
    .search-btn {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 0.75rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-grid.reverse {
        direction: ltr;
    }
    
    .value-image {
        order: -1;
    }
    
    .trust-logos {
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .trust-logos {
        flex-wrap: wrap;
    }
}