﻿:root {
    --primary: #5b5cf0;
    --primary-dark: #4344d6;
    --primary-light: #eef0ff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --green: #10b981;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px -5px rgba(91, 92, 240, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }

.container {
    width: min(calc(100% - 40px), 1180px);
    margin: auto;
}

/* NAVBAR */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

nav {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/* DROPDOWN NAVIGATION MENU */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--card-bg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 0;
    z-index: 1000;
}

.dropdown-content a {
    color: #334155;
    padding: 10px 16px;
    display: block;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    padding: 10px 18px;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

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

.btn-primary {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(91, 92, 240, 0.3);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* HERO SECTION */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: radial-gradient(100% 100% at 50% 0%, #eef0ff 0%, var(--bg) 100%);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.15;
    letter-spacing: -1px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero h1 span { color: var(--primary); }

.hero p {
    max-width: 680px;
    margin: auto;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

/* TOOLS GRID SECTION */
.tools-section {
    padding: 60px 0 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.tool-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-main);
}

.tool-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.tool-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tool-card:hover .tool-link {
    gap: 10px;
}

/* FOOTER */
.footer {
    background: #090e1a;
    color: #8fa0b5;
    padding: 60px 0 30px;
    font-size: 13px;
    border-top: 1px solid #151d2a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #151d2a;
    align-items: start;
}

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

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-brand-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.3px;
}

.footer-subtitle {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 12px;
    line-height: 1.6;
    color: #55657a;
    max-width: 380px;
    margin-bottom: 16px;
}

.footer-email-support {
    font-size: 12px;
    color: #8fa0b5;
    margin-bottom: 20px;
}

.footer-email-support a {
    color: #5b5cf0;
    font-weight: 600;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-socials a {
    padding: 7px 16px;
    border-radius: 8px;
    background: #151d2a;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
    border: 1px solid #1e293b;
}

.footer-socials a:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column-title {
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: #7b8ea5;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    font-size: 12px;
    color: #4a586d;
}

.footer-bottom strong {
    color: #cbd5e1;
}

@media(max-width: 900px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 32px; }
    .hero-cta { flex-direction: column; }
    .btn-large { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 550px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
