/* ===================================
   DIRECT-ONLINE - Main Stylesheet
   Fast. Clear. Professional.
   =================================== */

/* === CSS Variables === */
:root {
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --red: #ef4444;
    --green: #22c55e;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* === Layout === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.section--gray {
    background: var(--gray-100);
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header__logo img {
    height: 48px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header__nav-link {
    color: var(--gray-200);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.header__nav-link:hover {
    color: var(--primary);
}

.header__nav-link--active {
    color: var(--primary);
}

.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.header__cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .header__nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    
    .header__nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

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

.btn--secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn--lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--gray-100);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-radius: 0 0 0 50%;
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero__title {
    margin-bottom: 0.5rem;
}

.hero__subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.hero__accent {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero__price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__price-old {
    font-size: 1.5rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.hero__price-new {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
}

.hero__price-label {
    font-size: 1rem;
    color: var(--gray-600);
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero__badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.hero__badge-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* === Cards === */
.card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.card__title {
    margin-bottom: 0.75rem;
}

.card__text {
    color: var(--gray-600);
    line-height: 1.7;
}

/* === Grid === */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* === Comparison Table === */
.comparison {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.comparison__header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    background: var(--gray-100);
}

.comparison__header-cell {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-right: 1px solid var(--gray-200);
}

.comparison__header-cell:last-child {
    border-right: none;
    background: var(--primary);
    color: var(--white);
}

.comparison__header-cell:nth-child(2) {
    background: var(--gray-200);
    text-align: center;
}

.comparison__row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-top: 1px solid var(--gray-200);
}

.comparison__row:nth-child(even) {
    background: var(--gray-100);
}

.comparison__cell {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-right: 1px solid var(--gray-200);
}

.comparison__cell:last-child {
    border-right: none;
    background: rgba(20, 184, 166, 0.05);
    color: var(--primary-dark);
    font-weight: 600;
}

.comparison__cell:nth-child(2) {
    justify-content: center;
    color: var(--gray-600);
}

.comparison__cell svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.comparison__cell svg.check {
    color: var(--primary);
}

.comparison__cell svg.x {
    color: var(--red);
}

.comparison__total {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-top: 2px solid var(--gray-400);
    background: var(--gray-100);
}

.comparison__total-cell {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    border-right: 1px solid var(--gray-200);
}

.comparison__total-cell:nth-child(2) {
    text-align: center;
    color: var(--gray-600);
    text-decoration: line-through;
}

.comparison__total-cell:last-child {
    border-right: none;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

@media (max-width: 768px) {
    .comparison__header,
    .comparison__row,
    .comparison__total {
        grid-template-columns: 1fr;
    }
    
    .comparison__header-cell,
    .comparison__cell,
    .comparison__total-cell {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .comparison__cell:before,
    .comparison__total-cell:before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--gray-400);
        margin-right: auto;
    }
}

/* === FAQ Accordion === */
.faq__item {
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

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

.faq__icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 500px;
}

.faq__answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* === Contact Form === */
.form {
    max-width: 600px;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.form__message {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: none;
}

.form__message--success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
    border: 1px solid var(--green);
}

.form__message--error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
    border: 1px solid var(--red);
}

.form__message.show {
    display: block;
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer__tagline {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer__links h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header__subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.section--dark .section-header p {
    color: var(--gray-400);
}

/* === Utilities === */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero__price-new {
        font-size: 2.5rem;
    }
    
    .hero__badges {
        flex-direction: column;
    }
}
