/* Reset and modern base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.2);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Floating background shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-duration: 20s;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-duration: 22s;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.header {
   backdrop-filter: blur(20px);
   background: rgba(15, 23, 42, 0.8);
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   padding: 1rem 0;
   position: sticky;
   top: 0;
   z-index: 1000;
   transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.logo-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-icon svg {
    color: white;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link svg {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section - New Two-Column Layout */
.hero {
   position: relative;
   padding: 4rem 0 6rem;
   color: white;
   overflow: hidden;
   background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.hero-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-intro h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeIn 1s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-intro p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.4s both;
}

.btn svg {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.8s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1.5rem 3rem;
    border-radius: 16px;
    transition: var(--transition);
    min-width: 280px;
    justify-content: center;
}

.hero-cta.primary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-cta.primary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-cta.secondary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.3);
}

.hero-cta.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.4);
}

.hero-cta svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero-cta {
        min-width: 260px;
        font-size: 1.1rem;
        padding: 1.25rem 2.5rem;
    }
}

/* Latest Conditions Section */
.latest-conditions {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-title {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 1rem;
}

.section-icon img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.section-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.section-text p {
    color: #64748b;
    font-size: 1.1rem;
}

.filters {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-wrapper {
    position: relative;
}

.filter-select {
    appearance: none;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
}

.filter-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-box {
    position: relative;
}

.search-box input {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 3rem;
    width: 280px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.search-icon svg {
    color: #64748b;
}

/* Enhanced Conditions Grid */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
}

.condition-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
}

.condition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.company-info {
    flex: 1;
}

.company-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.category {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 500;
}

.category img {
    opacity: 0.7;
}

.overall-rating {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    min-width: 60px;
    text-align: center;
}

.overall-rating.excellent {
    background: linear-gradient(135deg, #10b981, #059669);
}

.overall-rating.good {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.overall-rating.poor {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.rating-details {
    margin-bottom: 1.5rem;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.rating-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    min-width: 100px;
}

.rating-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 3px;
    transition: width 0.8s ease-out;
}

.rating-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    min-width: 30px;
    text-align: right;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.check-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

.check-date img {
    opacity: 0.6;
}

.verification-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.verification-badge.excellent {
    background: linear-gradient(135deg, #10b981, #059669);
}

.verification-badge.good {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.verification-badge.poor {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Stats Showcase */
.stats-showcase {
   padding: 6rem 0;
   background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
   color: white;
   position: relative;
   text-align: center;
}

.cta-header {
   margin-bottom: 3rem;
}

.cta-header h3 {
   font-family: 'Space Grotesk', sans-serif;
   font-size: clamp(2rem, 4vw, 2.8rem);
   font-weight: 700;
   margin-bottom: 2rem;
   line-height: 1.2;
}

.features-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
   margin-bottom: 3rem;
   max-width: 900px;
   margin-left: auto;
   margin-right: auto;
}

.feature-item {
   display: flex;
   align-items: center;
   gap: 1rem;
   text-align: left;
}

.feature-icon {
   width: 40px;
   height: 40px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.2rem;
   flex-shrink: 0;
}

.feature-text {
   font-size: 1rem;
   opacity: 0.9;
   line-height: 1.4;
}

.cta-button {
   display: inline-flex;
   align-items: center;
   gap: 0.75rem;
   background: linear-gradient(135deg, #fbbf24, #f59e0b);
   color: #1e293b;
   text-decoration: none;
   font-weight: 700;
   font-size: 1.1rem;
   padding: 1.25rem 2.5rem;
   border-radius: 16px;
   transition: var(--transition);
   box-shadow: 0 8px 32px rgba(251, 191, 36, 0.3);
}

.cta-button:hover {
   transform: translateY(-3px);
   box-shadow: 0 12px 40px rgba(251, 191, 36, 0.4);
}

.cta-button svg {
   color: #1e293b;
}

/* Rating System */
.rating-system {
    padding: 6rem 0;
    background: white;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-center .section-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.section-header-center .section-icon img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.section-header-center h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header-center p {
    font-size: 1.2rem;
    color: #64748b;
}

.rating-process {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.process-step {
    position: relative;
    text-align: center;
    max-width: 200px;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}

.step-icon {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.step-icon img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #64748b;
    font-size: 0.9rem;
}

.process-arrow {
    font-size: 2rem;
    color: #4f46e5;
    font-weight: bold;
}

.rating-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.rating-example {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.rating-example.excellent {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.rating-example.good {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.rating-example.poor {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2, #fecaca);
}

.example-icon {
    flex-shrink: 0;
}

.example-icon img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.example-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.example-content p {
    color: #64748b;
    margin-bottom: 1rem;
}

.example-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Custom Terms Process */
.custom-terms-process {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.process-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    max-width: 280px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.process-card.final {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
}

.process-visual {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.visual-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-icon.general {
    background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
    color: #7c3aed;
}

.visual-icon.documents {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}

.visual-icon.customize {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    color: #ea580c;
}

.visual-icon.download {
    background: linear-gradient(135deg, #bbf7d0, #86efac);
    color: #059669;
}

.process-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.process-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.process-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    font-size: 0.9rem;
    color: #475569;
    background: #f1f5f9;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 500;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: #4f46e5;
    margin-top: 3rem;
}

.flow-arrow svg {
    filter: drop-shadow(0 2px 4px rgba(79, 70, 229, 0.2));
}

/* Preview Section */
.preview-section {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.preview-text h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.preview-text p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1.1rem;
}

.preview-demo {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.demo-form,
.demo-document {
    flex: 1;
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
}

.form-header,
.document-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    background: white;
}

.demo-arrow {
    font-size: 1.5rem;
    color: #4f46e5;
    font-weight: bold;
    align-self: center;
}

.document-content {
    font-family: 'Times New Roman', serif;
    font-size: 0.8rem;
    line-height: 1.4;
}

.document-line {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.document-line.visible {
    color: #1e293b;
}

.document-line.blurred {
    color: #94a3b8;
    filter: blur(3px);
    user-select: none;
}

/* Preview CTA */
.preview-cta {
    margin-top: 2rem;
    text-align: center;
}

.preview-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
}

.preview-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
}

.preview-cta-button svg {
    color: #fbbf24;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .preview-demo {
        flex-direction: column;
        gap: 1rem;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
        align-self: center;
    }
}

@media (max-width: 768px) {
    .custom-terms-process {
        padding: 4rem 0;
    }
    
    .process-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .preview-section {
        padding: 2rem;
    }
    
    .preview-text h4 {
        font-size: 1.5rem;
    }
}

/* Enhanced Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899, #f59e0b);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    grid-column: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: white;
}

.footer-logo h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-links {
    display: contents;
}

.footer-column h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.social-link:hover img {
    opacity: 1;
}

.footer-newsletter h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.footer-newsletter p {
    color: #94a3b8;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #1e293b;
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form button {
    position: relative;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    overflow: hidden;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rating-process {
        flex-direction: column;
        gap: 3rem;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .section-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        flex-direction: column;
        text-align: center;
    }
    
    .filters {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    
    .filter-select,
    .search-box input {
        width: 100%;
    }
    
    .hero-intro h2 {
        font-size: 2.5rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .rating-example {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero-intro h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .condition-card {
        padding: 1.5rem;
    }
    
    .stats-showcase,
    .rating-system,
    .latest-conditions {
        padding: 4rem 0;
    }
    
    .section-text h3 {
        font-size: 2rem;
    }
    
    .section-header-center h3 {
        font-size: 2rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .nav-link svg {
        display: none;
    }
}
