@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Oswald:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --bg-primary: #05060a;
    --bg-secondary: #0c0e1a;
    --bg-card: #14172b;
    --accent-gold: #ffcc00;
    --accent-gold-dark: #b89600;
    --accent-red: #ff3c3c;
    --text-primary: #ffffff;
    --text-muted: #a0a6cc;
    --border: rgba(255, 204, 0, 0.3);
    --gradient-hero: linear-gradient(135deg, #05060a 0%, #201040 100%);
    --gradient-gold: linear-gradient(90deg, #ffcc00, #ff9900);
    --gradient-red: linear-gradient(90deg, #ff3c3c, #cc0000);
    --shadow-gold: 0 0 25px rgba(255, 204, 0, 0.4);
    --transition: all 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    --skew-deg: -3deg;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-style: italic;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--bg-secondary);
    clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%);
}

/* Typography Helpers */
.text-gold { color: var(--accent-gold); }
.text-accent-red { color: var(--accent-red); }
.text-center { text-align: center; }
.font-oswald { font-family: 'Oswald', sans-serif; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-style: italic;
    transform: skew(-15deg);
    position: relative;
    overflow: hidden;
}

.btn > span {
    display: inline-block;
    transform: skew(15deg);
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    border-right: 4px solid var(--accent-gold-dark);
}

.btn-primary:hover {
    transform: skew(-15deg) scale(1.05);
    box-shadow: var(--shadow-gold);
    background: #fff;
}

.btn-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

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

.btn-outline:hover {
    background: var(--text-primary);
    color: #000;
}

/* Navigation */
header {
    background: rgba(10, 12, 20, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition); /* Smooth transition for background */
}

header.scrolled {
    background: rgba(5, 6, 10, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition); /* Smooth transition for padding */
}

header.scrolled nav {
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Oswald', sans-serif;
    font-style: italic;
    color: var(--accent-gold);
    text-shadow: 2px 2px 0px rgba(255, 60, 60, 0.5);
}

.logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links a {
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

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

/* Mobile Nav */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Nav Styles */
.nav-drawer {
    display: none;
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 300px;
    background: var(--bg-primary);
    z-index: 1001;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 30px;
    flex-direction: column;
    gap: 25px;
    border-left: 4px solid var(--accent-gold); /* Changed from right to left for better visual on the right side */
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .nav-links, .nav-actions {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-drawer {
        display: flex; /* Show as flex on mobile */
    }

    .nav-drawer.active {
        right: 0;
    }

    .nav-drawer a {
        font-size: 1.5rem;
        font-family: 'Oswald', sans-serif;
        text-transform: uppercase;
        font-style: italic;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 10px;
    }
    
    .nav-drawer-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Hero Section Styles will go here */
/* Homepage Sections Styles will go here */

/* Forms styling */
.form-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 12px 15px;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
}

/* Removed Hero Particles */
#hero-particles {
    display: none;
}

/* Grids & Testimonials */
.feature-grid, .step-grid, .testimonial-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.feature-grid { grid-template-columns: repeat(4, 1fr); }
.step-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }

.testimonial-card, .feature-card, .step-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover, .feature-card:hover, .step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.reviewer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .feature-grid, .step-grid, .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid, .step-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 { font-size: 2.5rem !important; }
    section { padding: 60px 0 !important; }
}

/* Star Rating */
.star-rating {
    color: var(--accent-gold);
    display: flex;
    gap: 5px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-gold);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
