/* ===== Variables ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    --dark-blue: #1e293b;
    --darker-blue: #0f172a;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-light {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.nav-brand {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    width: 200px;
    height: 250px;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.card-2 {
    width: 180px;
    height: 220px;
    top: 80px;
    right: 20px;
    background: white;
    animation-delay: 2s;
}

.card-3 {
    width: 160px;
    height: 200px;
    bottom: 0;
    left: 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    animation-delay: 4s;
}

/* ===== Page Header ===== */
.page-header {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* ===== Sections ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

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

/* ===== Features ===== */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--dark-blue);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Services Preview ===== */
.services-preview {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    padding: 40px;
    background: white;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

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

.service-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark-blue);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Services Detailed Page ===== */
.services-detailed {
    padding: 100px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-detail h2 {
    font-size: 36px;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.service-intro {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 40px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-features svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.service-detail-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.design-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dev-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.brand-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.strategy-placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* ===== Process Section ===== */
.process {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.process-step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.process-step h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark-blue);
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h2 {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.contact-intro {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.contact-info-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.contact-info-card h3 {
    font-size: 24px;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.contact-info-card p {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-text h4 {
    font-size: 16px;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.contact-info-text p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.opening-hours {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span:first-child {
    color: var(--text-dark);
    font-weight: 500;
}

.hours-row span:last-child {
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===== Map Section ===== */
.map-section {
    height: 400px;
    background: var(--bg-light);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
    color: white;
}

.map-marker {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
}

.map-marker svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.map-overlay p {
    font-size: 18px;
    font-weight: 600;
}

/* ===== Help Page ===== */
.help-search {
    padding: 60px 0;
    background: var(--bg-light);
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--text-gray);
}

.search-box input {
    width: 100%;
    padding: 18px 20px 18px 60px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== Quick Links ===== */
.quick-links {
    padding: 80px 0;
}

.quick-links h2 {
    text-align: center;
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 50px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quick-link-card {
    padding: 32px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.quick-link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.quick-link-icon svg {
    width: 30px;
    height: 30px;
}

.quick-link-card h3 {
    font-size: 20px;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.quick-link-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-blue);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Support CTA ===== */
.support-cta {
    padding: 80px 0;
    text-align: center;
}

.support-cta-content h2 {
    font-size: 36px;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.support-cta-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.support-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Stats ===== */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: var(--dark-blue);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
    background: var(--darker-blue);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-col p,
.footer-col ul li {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-col a {
    color: var(--text-light);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-light);
}

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

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

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    .service-detail h2 {
        font-size: 28px;
    }
    
    .service-intro {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .support-cta-content h2 {
        font-size: 28px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}