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

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007aff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: #007aff;
    background: rgba(0, 122, 255, 0.05);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    position: relative;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #1d1d1f;
    transition: all 0.3s ease;
    margin: 3px 0;
    border-radius: 2px;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 24px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.95;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

.hero-tagline strong {
    font-weight: 700;
    font-style: normal;
}

.hero-cta {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-20px); }
}

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

.services {
    padding: 120px 0;
    background-color: #f5f5f7;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 64px;
    color: #1d1d1f;
}

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

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card:hover h3 {
    color: #007aff;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
    transition: color 0.3s ease;
}

.service-card p {
    color: #6e6e73;
    line-height: 1.6;
}

.about {
    padding: 120px 0;
    background-color: white;
}

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

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1d1d1f;
}

.about p {
    font-size: 1.125rem;
    color: #6e6e73;
    margin-bottom: 24px;
    line-height: 1.7;
}

.philosophy {
    padding: 120px 0;
    background-color: #f5f5f7;
}

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

.philosophy h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1d1d1f;
}

.philosophy p {
    font-size: 1.125rem;
    color: #6e6e73;
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 24px;
    background: #f5f5f7;
    border-radius: 12px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007aff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: #6e6e73;
    font-weight: 500;
}

.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.contact h2.contact-title-animated {
    background: linear-gradient(45deg, #ffffff, #ffd700, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: none;
}

.contact p {
    font-size: 1.5rem;
    margin-bottom: 24px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    animation: fadeInUpBig 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes fadeInUpBig {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-group {
    position: relative;
    text-align: left;
    opacity: 0;
    transform: translateX(-30px) translateY(20px);
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.4s; }
.form-group:nth-child(4) { animation-delay: 0.6s; }
.form-group:nth-child(5) { animation-delay: 0.8s; }
.form-group:nth-child(6) { animation-delay: 1s; }
.form-group:nth-child(7) { animation-delay: 1.2s; }

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: white;
    font-size: 0.9rem;
}

.required-asterisk {
    color: #ff6b6b;
    font-weight: 600;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 1rem;
    display: block;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.error-message.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4px;
}

.character-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-left: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 20px 24px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.3s ease;
    resize: none;
    transform: scale(1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 56px;
}

.form-group select option {
    background: #1d1d1f;
    color: white;
    padding: 12px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.submit-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(1);
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.submit-btn:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

.footer {
    background-color: #1d1d1f;
    color: white;
    padding: 48px 0 24px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    background-color: #1d1d1f;
    border-radius: 16px;
    padding: 4px;
    transform: scale(1.3);
    overflow: hidden;
    object-fit: cover;
    object-position: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin: 0;
}

.footer-brand p {
    color: #86868b;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-links a:hover::after {
    width: calc(100% - 24px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #424245;
}

.footer-bottom p {
    color: #86868b;
    font-size: 0.875rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 24px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #007aff;
    color: white;
}

.cookie-btn-primary:hover {
    background: #0056cc;
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6e6e73;
    padding: 4px;
    line-height: 1;
    transition: color 0.3s ease;
}

.cookie-close:hover {
    color: #1d1d1f;
}

.cookie-modal-body {
    padding: 0 24px;
}

.cookie-modal-body > p {
    color: #6e6e73;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-toggle-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1d1d1f;
    min-width: 30px;
}

.cookie-category h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
}

.cookie-category p {
    margin: 0;
    font-size: 0.875rem;
    color: #6e6e73;
    line-height: 1.5;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #007aff;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #007aff;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle input:disabled:not(:checked) + .cookie-slider {
    background-color: #ccc;
}

.cookie-modal-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-privacy-link {
    color: #007aff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.cookie-privacy-link:hover {
    color: #0056cc;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 0 16px;
    }
    
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 20px;
        max-width: calc(100vw - 40px);
    }
    
    .cookie-modal-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 69px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 69px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 48px;
        gap: 32px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        list-style: none;
    }
    
    .nav-menu a {
        font-size: 1.25rem;
        font-weight: 500;
        padding: 12px 24px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(0, 122, 255, 0.1);
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .section-container {
        padding: 0 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .contact-form {
        margin: 48px 16px 0;
        padding: 24px;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services h2,
    .about h2,
    .contact h2,
    .philosophy h2 {
        font-size: 2rem;
    }
    
    .contact p {
        font-size: 1.25rem;
    }
}