/* CSS Custom Properties */
:root {
    --plum-950: #1c0a2e;
    --plum-900: #2d1145;
    --plum-800: #4c1d95;
    --plum-700: #6d28d9;
    --plum-600: #7c3aed;
    --plum-500: #8b5cf6;
    --plum-100: #ede9fe;
    --plum-50: #f5f3ff;
    
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;
    
    --neutral-950: #0a0a0a;
    --neutral-900: #171717;
    --neutral-800: #262626;
    --neutral-700: #404040;
    --neutral-600: #525252;
    --neutral-400: #a3a3a3;
    --neutral-300: #d4d4d4;
    --neutral-200: #e5e5e5;
    --neutral-100: #f5f5f5;
    --neutral-50: #fafafa;
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 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: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-900);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Geometric Background Shapes */
.bg-shape {
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--plum-500) 0%, var(--plum-700) 100%);
    border-radius: 50%;
    opacity: 0.1;
}

.shape-2 {
    bottom: 20%;
    left: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-600) 100%);
    border-radius: 50%;
    opacity: 0.08;
}

.shape-3 {
    top: 40%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--plum-600) 0%, var(--amber-500) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.06;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--plum-900);
}

.logo-accent {
    color: var(--amber-600);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--neutral-700);
    transition: color 0.3s ease;
}

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

.btn-nav {
    background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-600) 100%);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--plum-900);
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    padding: 12px 24px;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--amber-400);
}

.mobile-btn {
    margin-top: 16px;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-600) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--white);
    color: var(--plum-900);
    border: 2px solid var(--plum-200, #ddd6fe);
}

.btn-secondary:hover {
    background: var(--plum-50);
    border-color: var(--plum-500);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 50%, var(--amber-600) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: var(--amber-300);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
    color: var(--neutral-950);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.card-1 {
    width: 280px;
    height: 350px;
    position: relative;
    z-index: 2;
}

.card-2 {
    width: 240px;
    height: 200px;
    position: absolute;
    bottom: -40px;
    right: -20px;
    z-index: 3;
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-badge {
    position: absolute;
    bottom: 80px;
    left: -30px;
    background: var(--white);
    color: var(--plum-900);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    z-index: 4;
}

.visual-badge svg {
    color: var(--amber-500);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--plum-100);
    color: var(--plum-700);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--neutral-950);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: var(--neutral-50);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 10, 46, 0.9), transparent);
    padding: 20px;
    color: var(--white);
    font-weight: 600;
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--neutral-950);
    margin-bottom: 8px;
}

.card-content p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.about-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--plum-700);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

.about-shape {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--amber-400) 0%, var(--amber-600) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.3;
    z-index: -1;
}

.about-content {
    color: var(--neutral-900);
}

.about-content .section-tag {
    background: var(--amber-100);
    color: var(--amber-600);
}

.about-content .section-title {
    color: var(--neutral-950);
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--neutral-700);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--neutral-800);
}

.about-features svg {
    color: var(--amber-500);
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content {
    color: var(--white);
}

.cta-content .section-title {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cta-buttons .btn-outline {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--neutral-950);
}

.cta-buttons .btn-outline:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--neutral-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--plum-100) 0%, var(--plum-50) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    flex-shrink: 0;
}

.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--neutral-950);
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-details a {
    color: var(--plum-700);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--plum-600);
}

.map-container {
    margin-top: 8px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neutral-950);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--neutral-800);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-900);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--plum-50);
    border: 1px solid var(--plum-200, #ddd6fe);
    border-radius: var(--radius-sm);
    color: var(--plum-800);
    font-weight: 500;
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--plum-600);
}

/* Footer */
.footer {
    background: var(--plum-950);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--amber-400);
}

.footer-contact a:hover {
    color: var(--amber-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .products,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .about-stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .product-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}
