/* CSS Custom Properties */
:root {
    --primary: 220 88% 56%; /* #1e40af */
    --secondary: 270 75% 60%; /* #8b5cf6 */
    --accent: 45 93% 58%; /* #f59e0b */
    --background: 210 11% 98%; /* #f8fafc */
    --surface: 0 0% 100%; /* #ffffff */
    --text-primary: 220 9% 15%; /* #1e293b */
    --text-secondary: 220 9% 46%; /* #64748b */
    --text-light: 210 14% 83%; /* #cbd5e1 */
    --border: 220 13% 91%; /* #e2e8f0 */
    --shadow: 220 43% 11% / 0.1; /* rgba(15, 23, 42, 0.1) */
    --success: 142 76% 36%; /* #16a34a */
    --warning: 38 92% 50%; /* #ea580c */
    --error: 0 84% 60%; /* #ef4444 */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: hsl(var(--text-secondary));
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px hsl(var(--shadow));
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: hsl(var(--surface));
    border-top: 1px solid hsl(var(--border));
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -5px 15px hsl(var(--shadow));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

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

.cookie-text i {
    font-size: 2rem;
    color: hsl(var(--accent));
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept, .btn-necessary, .btn-custom {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept {
    background: hsl(var(--success));
    color: white;
}

.btn-necessary {
    background: hsl(var(--warning));
    color: white;
}

.btn-custom {
    background: hsl(var(--border));
    color: hsl(var(--text-primary));
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: hsla(var(--surface) / 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
    z-index: 999;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: hsl(var(--text-primary));
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: hsl(var(--primary));
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05), hsl(var(--secondary) / 0.05));
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.abstract-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: linear-gradient(135deg, hsl(var(--accent) / 0.3), hsl(var(--secondary) / 0.3));
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: hsl(var(--text-secondary));
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: hsl(var(--surface));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05), hsl(var(--secondary) / 0.05));
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 500;
    color: hsl(var(--text-secondary));
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsl(var(--accent));
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: hsl(var(--background));
}

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

.about-card {
    position: relative;
    padding: 3rem;
    text-align: center;
    background: hsl(var(--surface));
    transition: all 0.3s ease;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--secondary) / 0.1));
    z-index: 1;
}

.about-card > * {
    position: relative;
    z-index: 2;
}

.hexagon-card,
.diamond-card,
.circle-card {
    border-radius: 1rem;
}

.card-icon {
    font-size: 4rem;
    color: hsl(var(--primary));
    margin-bottom: 2rem;
}

.card-icon object {
    width: 4rem;
    height: 4rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--text-primary));
}

.about-card p {
    color: hsl(var(--text-secondary));
}

.about-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px hsl(var(--shadow));
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: hsl(var(--surface));
}

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

.service-card {
    position: relative;
    padding: 3rem;
    background: hsl(var(--background));
    transition: all 0.3s ease;
    overflow: hidden;
}

.triangle-card,
.pentagon-card,
.octagon-card {
    border-radius: 1rem;
    padding: 3rem;
}

.service-icon {
    font-size: 3rem;
    color: hsl(var(--secondary));
    margin-bottom: 2rem;
    text-align: center;
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: hsl(var(--text-primary));
}

.service-card p {
    text-align: center;
    margin-bottom: 2rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: hsl(var(--text-secondary));
    position: relative;
    padding-left: 2rem;
}

.service-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: hsl(var(--success));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px hsl(var(--shadow));
}

/* Quality Section */
.quality-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05), hsl(var(--background)));
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quality-features {
    margin-top: 2rem;
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: hsl(var(--surface));
    border-radius: 1rem;
    box-shadow: 0 5px 15px hsl(var(--shadow));
    transition: transform 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-5px);
}

.quality-item i {
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--warning)));
}

.quality-item h4 {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
}

.quality-item p {
    margin-bottom: 0;
    color: hsl(var(--text-secondary));
}

.quality-visual object {
    width: 100%;
    height: auto;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background: hsl(var(--surface));
}

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

.review-card {
    position: relative;
    padding: 3rem;
    background: hsl(var(--background));
    transition: all 0.3s ease;
    overflow: hidden;
}

.wave-card,
.zigzag-card,
.spiral-card {
    border-radius: 1rem;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.review-stars i {
    color: hsl(var(--accent));
    font-size: 1.25rem;
}

.review-card p {
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: hsl(var(--text-primary));
}

.review-author i {
    font-size: 1.5rem;
    color: hsl(var(--primary));
}

.review-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px hsl(var(--shadow));
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    color: white;
}

.newsletter-content {
    text-align: center;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: hsl(var(--text-light));
    margin-bottom: 3rem;
    font-size: 1.25rem;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    display: flex;
    align-items: center;
    background: hsl(var(--surface));
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 10px 25px hsl(var(--shadow));
}

.form-group i {
    padding: 0 1rem;
    color: hsl(var(--text-secondary));
}

.form-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem;
    font-size: 1rem;
    background: transparent;
}

.form-group button {
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--warning)));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group button:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px hsl(var(--shadow));
}

/* Footer */
.footer {
    background: hsl(var(--text-primary));
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: hsl(var(--accent));
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: hsl(var(--text-light));
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: hsl(var(--primary));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: hsl(var(--accent));
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--text-light));
}

.contact-info i {
    color: hsl(var(--accent));
    width: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid hsl(var(--text-secondary));
    padding-top: 2rem;
    text-align: center;
    color: hsl(var(--text-light));
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .quality-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-card.hexagon-card,
    .about-card.diamond-card {
        clip-path: none;
        border-radius: 1rem;
    }
    
    .service-card.triangle-card,
    .service-card.pentagon-card,
    .service-card.octagon-card {
        clip-path: none;
        border-radius: 1rem;
        padding: 2rem;
    }
    
    .review-card.zigzag-card {
        clip-path: none;
        border-radius: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-grid,
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
