/* ================================================
   FAVOR & FORTUNE - Professional Design System
   ================================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #475569;
    --accent: #c9a227;
    --accent-dark: #a68520;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-600);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* Containers */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn i {
    font-size: 1.125rem;
    transition: transform 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* Section Styling */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: var(--gray-300);
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO ==================== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.hero-badge i {
    color: var(--accent);
    font-size: 1rem;
}

.hero h1 {
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--gray-100);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.card-title {
    display: block;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
}

.card-subtitle {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ==================== PRODUCTS ==================== */
.products {
    padding: 100px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.product-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(201,162,39,0.03) 0%, var(--white) 100%);
}

.product-badge {
    position: absolute;
    top: -12px;
    left: 28px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.product-card.featured .product-icon {
    background: linear-gradient(135deg, rgba(201,162,39,0.15) 0%, rgba(201,162,39,0.05) 100%);
    color: var(--accent-dark);
}

.product-content {
    flex: 1;
}

.product-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-content > p {
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 24px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features i {
    color: var(--accent);
    font-size: 1.125rem;
    margin-top: 2px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.price-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ==================== ABOUT ==================== */
.about {
    padding: 100px 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-content > p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.credential {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.credential i {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.cred-title {
    display: block;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
}

.cred-desc {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 100px 0;
    background: var(--primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--primary-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--accent);
    font-size: 1rem;
}

.testimonial-card > p {
    font-size: 1rem;
    color: var(--gray-200);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--white);
    font-size: 0.9375rem;
}

.author-role {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ==================== CONTACT ==================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-content h2 {
    margin-bottom: 16px;
}

.contact-content > p {
    font-size: 1.0625rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 480px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--gray-100);
    border-color: var(--gray-200);
}

.method-icon {
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    box-shadow: var(--shadow);
}

.method-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.method-value {
    font-weight: 600;
    color: var(--primary);
}

.cta-card {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.3);
}

.cta-card h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--gray-400);
    margin-bottom: 28px;
}

.cta-card .btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4);
}

.cta-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    padding: 80px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: var(--primary-light);
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-tagline {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 0.9375rem;
    padding: 8px 0;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.disclaimer {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 60px;
    }
    
    .hero-image-wrapper img {
        height: 450px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .contact-wrapper {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-text {
        margin: 0 auto 32px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper img {
        height: 400px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-card {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 350px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-lead,
    .about-content > p {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-credentials {
        justify-content: center;
        max-width: 400px;
        margin: 32px auto 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content > p {
        margin: 0 auto 32px;
    }
    
    .contact-methods {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-method {
        text-align: left;
    }
    
    .cta-card {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==================== RESPONSIVE - MOBILE ==================== */
@media (max-width: 640px) {
    .nav-container {
        height: 64px;
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 16px;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-badge {
        font-size: 0.8125rem;
        padding: 6px 14px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat {
        flex: 0 0 auto;
    }
    
    .hero-image-wrapper img {
        height: 300px;
    }
    
    .hero-card {
        padding: 12px 16px;
        bottom: -15px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 0.875rem;
    }
    
    .card-subtitle {
        font-size: 0.75rem;
    }
    
    .products,
    .about,
    .testimonials,
    .contact {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .product-card {
        padding: 24px;
    }
    
    .product-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .product-price {
        align-items: center;
    }
    
    .product-footer .btn {
        width: 100%;
    }
    
    .about-image img {
        height: 280px;
    }
    
    .about-credentials {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .credential {
        justify-content: center;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .cta-card {
        padding: 32px 24px;
    }
    
    .footer {
        padding: 60px 0 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-links .footer-col:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 400px) {
    .section-container {
        padding: 0 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-links .footer-col:last-child {
        grid-column: span 1;
    }
}
