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

.sv {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

.sv-article, .sv-aside, .sv-details, .sv-figcaption, .sv-figure, 
.sv-footer, .sv-header, .sv-hgroup, .sv-menu, .sv-nav, .sv-section {
    display: block;
}

.sv-body {
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden;
}

.sv-ol, .sv-ul {
    list-style: none;
}

.sv-blockquote, .sv-q {
    quotes: none;
}

.sv-blockquote:before, .sv-blockquote:after,
.sv-q:before, .sv-q:after {
    content: '';
    content: none;
}

.sv-table {
    border-collapse: collapse;
    border-spacing: 0;
}

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

/* Variables */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #c5a059;
    --bg-light: #f9f9f9;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* Base horizontal padding */
}

.section-padding {
    padding: 80px 0;
}

/* Typography */
.sv-h1, .sv-h2, .sv-h3, .sv-h4, .sv-h5, .sv-h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.sv-p {
    margin-bottom: 1rem;
}

.title-large { font-size: clamp(2.5rem, 8vw, 4rem); }
.title-medium { font-size: clamp(2rem, 5vw, 3rem); }
.title-small { font-size: 1.5rem; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    margin: 5px 0;
    transition: 0.3s;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image-container {
    position: relative;
    animation: fadeIn 1.5s ease-out;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Content Sections */
.content-section {
    background: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 4px;
    transition: var(--transition);
}

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

.card-title {
    margin-bottom: 20px;
}

/* Comparison Table */
.comparison-container {
    overflow-x: auto;
    margin: 40px 0;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    text-align: left;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: var(--bg-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.highlight-row {
    background: rgba(197, 160, 89, 0.05);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.disclosure {
    max-width: 800px;
    margin: 20px auto 0;
    font-style: italic;
    line-height: 1.4;
}

/* Testimonial Slider */
.testimonial-wrapper {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 350px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 4px;
    flex-shrink: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 5 - 30px * 5)); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-grid, .content-grid, .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex !important;
    }

    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px !important; /* Force margin on all pages */
        width: 100%;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .title-medium {
        font-size: 2rem;
    }

    .comparison-container {
        margin: 0 -25px; /* Allow table to scroll but keep container alignment */
        padding: 0 25px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 600px;
    }

    .testimonial-card {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px !important;
    }

    .section-padding {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
