:root {
    --primary: #3579F5;
    --primary-light: #E3F2FD;
    --primary-dark: #2563EB;
    --green: #22C55E;
    --green-light: #DCFCE7;
    --yellow: #FBBF24;
    --yellow-light: #FEF3C7;
    --purple: #8B5CF6;
    --purple-light: #F3E8FF;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --background: #FFFFFF;
    --background-alt: #F9FAFB;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 24px rgba(53, 121, 245, 0.12);
    --shadow-lg: 0 12px 48px rgba(53, 121, 245, 0.18);
    --radius: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-alt {
    background: var(--background-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

#ai {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 100%), url('images/bg_2.jpg');
    background-size: cover;
    background-position: center;
}

/* Hero Section */
.hero {
    background: url('images/bg_1.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 140px;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: white;
    margin-bottom: 40px;
    max-width: 500px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(53, 121, 245, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(53, 121, 245, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

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

/* Phone Mockup */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.2s backwards;
    perspective: 1000px;
}

.phone-mockup {
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.1s ease-out;
    animation: float3d 6s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateZ(-20px);
    background: #16213e;
    border-radius: 40px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.3);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50px;
    bottom: 50px;
    width: 20px;
    background: linear-gradient(90deg, #16213e, #0f1629);
    transform-origin: left;
    transform: rotateY(90deg) translateZ(-1px);
    border-radius: 0 4px 4px 0;
}

.phone-frame {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    background: var(--background);
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9/19;
}

.app-preview {
    height: 100%;
    background: linear-gradient(180deg, var(--primary-light) 0%, white 100%);
    padding: 48px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-header {
    text-align: center;
    margin-bottom: 16px;
}

.app-logo-inner {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin: 0 auto 8px;
    display: block;
}

.app-title {
    font-size: 16px;
    font-weight: 700;
}

.app-card {
    background: white;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.app-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}



.app-card-icon.green {
    background: var(--green-light);
    color: var(--green);
}

.app-card-icon.purple {
    background: var(--purple-light);
    color: var(--purple);
}

.app-card-icon.yellow {
    background: var(--yellow-light);
    color: #D97706;
}

.app-card-icon.blue {
    background: var(--primary-light);
    color: var(--primary);
}

.app-card-icon.red {
    background: #FEE2E2;
    color: #EF4444;
}

.app-nav {
    margin-top: auto;
    background: white;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.app-nav-item {
    color: #9CA3AF;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.app-nav-item.active {
    color: var(--primary);
}

.app-nav-item.main {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(53, 121, 245, 0.3);
}

.app-card-text {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
}

.progress-bar {
    height: 6px;
    background: var(--background-alt);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 3px;
}

.progress.green-bg {
    background: linear-gradient(90deg, var(--green), #4ADE80);
}

/* Floating badges */
.floating-badge {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 15%;
    left: -115px;
    transform: translateZ(20px);
}

.floating-badge.badge-2 {
    bottom: 20%;
    right: -95px;
    transform: translateZ(40px);
    animation-delay: 1.5s;
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon.green {
    background: var(--green-light);
    color: var(--green);
}

.float-icon.blue {
    background: var(--primary-light);
    color: var(--primary);
}

.float-text {
    font-size: 12px;
}

.float-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.float-text span {
    color: var(--text-secondary);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-grid.reverse .content-visual {
    order: -1;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-light), white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Design Showcase */
.design-showcase {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.design-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.design-card.before {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.design-card.after {
    background: linear-gradient(135deg, var(--primary-light), #c7e0ff);
}

.design-illustration {
    width: 100%;
    height: 100%;
    padding: 20px;
}

.design-illustration svg {
    width: 100%;
    height: 100%;
}

.design-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.design-label.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.ai-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.ai-steps .arrow {
    color: var(--text-tertiary);
}

/* Roles Grid */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.role-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.role-card:hover::before {
    transform: scaleX(1);
}

.role-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-icon.blue {
    background: linear-gradient(135deg, var(--primary-light), white);
    color: var(--primary);
}

.role-icon.yellow {
    background: linear-gradient(135deg, var(--yellow-light), white);
    color: #D97706;
}

.role-icon.green {
    background: linear-gradient(135deg, var(--green-light), white);
    color: var(--green);
}

.role-icon.purple {
    background: linear-gradient(135deg, var(--purple-light), white);
    color: var(--purple);
}

.role-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.role-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.role-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.role-features {
    text-align: left;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.role-features li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 600;
}

/* Chat Mockup */
.chat-mockup {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.chat-header strong {
    display: block;
    margin-bottom: 2px;
}

.online {
    font-size: 13px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
}

.chat-messages {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 280px;
}

.message {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.message.received {
    background: var(--background-alt);
    border-bottom-left-radius: 6px;
    align-self: flex-start;
}

.message.sent {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-bottom-right-radius: 6px;
    align-self: flex-end;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-messages .message {
    animation: messageAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

.chat-messages .message:nth-child(1) {
    animation-delay: 0.5s;
}

.chat-messages .message:nth-child(2) {
    animation-delay: 1.5s;
}

/* Third message waits for typing animation (1.5s + 2s duration) */
.chat-messages .message:nth-child(4) {
    animation-delay: 4.5s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-4px);
    }
}

@keyframes indicatorSequence {
    0% {
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        display: none;
    }

    1% {
        opacity: 0;
        max-height: 40px;
        margin-bottom: 10px;
        display: block;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    99% {
        opacity: 0;
        max-height: 40px;
        margin-bottom: 10px;
    }

    100% {
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        display: none;
    }
}

.typing-indicator {
    background: #F3F4F6;
    padding: 12px 16px;
    border-radius: 12px 12px 12px 0;
    width: fit-content;
    display: flex;
    gap: 4px;
    opacity: 0;
    /* Start hidden */
    max-height: 0;
    overflow: hidden;
    animation: indicatorSequence 2.5s forwards;
    animation-delay: 2s;
    /* Starts after 2nd message (1.5s + 0.5s fade) */
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #9CA3AF;
    border-radius: 50%;
    display: block;
    animation: typingBounce 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.message .time {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 6px;
}

.message.sent .time {
    color: rgba(255, 255, 255, 0.7);
}

.chat-input {
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    background: var(--background-alt);
    border: none;
    border-radius: 24px;
    padding: 14px 20px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.send-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.send-btn:hover {
    transform: scale(1.05);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

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

.portfolio-image {
    aspect-ratio: 4/3;
    position: relative;
}

.portfolio-image.img-1 {
    background: url('images/projects_1.jpg') center/cover no-repeat;
}

.portfolio-image.img-2 {
    background: url('images/projects_2.jpg') center/cover no-repeat;
}

.portfolio-image.img-3 {
    background: url('images/projects_3.jpg') center/cover no-repeat;
}

.portfolio-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.portfolio-content {
    padding: 20px;
}

.portfolio-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.portfolio-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.stars {
    color: var(--yellow);
}

.portfolio-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.portfolio-author strong {
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.portfolio-author span {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 4px;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.7;
}

.price-period {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-features li {
    font-size: 14px;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
}

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

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

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

.pricing-btn.white:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta-section {
    background: url('images/bg_7.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    min-height: auto;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(79, 70, 229, 0.8));
    /* Blue gradient overlay */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 48px;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.store-btn:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.store-icon {
    width: 36px;
    height: 36px;
}

.store-text {
    text-align: left;
}

.store-text small {
    font-size: 12px;
    opacity: 0.8;
    display: block;
}

.store-text strong {
    font-size: 18px;
    font-weight: 600;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 24px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span {
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float3d {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(0);
    }

    50% {
        transform: rotateY(-10deg) rotateX(5deg) translateY(-20px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .content-grid.reverse .content-visual {
        order: 0;
    }

    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .section {
        padding: 80px 20px;
        min-height: auto;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }

    .floating-badge {
        display: none;
    }

    .roles-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .design-grid {
        grid-template-columns: 1fr;
    }

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

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        max-width: 260px;
    }

    .section-title {
        font-size: 28px;
    }

    .role-card {
        padding: 24px 20px;
    }

    .pricing-card {
        padding: 24px;
    }

    .price {
        font-size: 32px;
    }

    .cta-stats {
        gap: 24px;
    }

    .stat-value {
        font-size: 32px;
    }
}

/* Roles Section Background */
#roles {
    background-color: #f8f9fc;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(219, 234, 254, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 90%, rgba(254, 215, 170, 0.3) 0%, transparent 20%),
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    position: relative;
    overflow: hidden;
}

.roles-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#roles .section-content {
    position: relative;
    z-index: 1;
}

.bg-icon {
    position: absolute;
    opacity: 0.4;
    filter: none;
}

.bg-icon-compass {
    top: 50px;
    left: 5%;
    width: 160px;
    height: 160px;
    color: #A7C5EB;
    transform: rotate(-15deg);
    opacity: 0.5;
}

.bg-icon-customer {
    top: 180px;
    left: 22%;
    width: 80px;
    height: 80px;
    color: #FDE68A;
    transform: rotate(15deg);
    opacity: 0.6;
}

.bg-icon-roller {
    top: 60px;
    right: 15%;
    width: 120px;
    height: 120px;
    color: #F472B6;
    transform: rotate(15deg);
    opacity: 0.5;
}

.bg-icon-geometric {
    bottom: 80px;
    right: 15%;
    width: 100px;
    height: 100px;
    color: #FDBA74;
    transform: rotate(-30deg);
    opacity: 0.5;
}

/* Communication Section Background */
#communication {
    background-image: url('images/bg_4.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

#communication::before {
    display: none;
}

#communication .section-content {
    position: relative;
    z-index: 2;
}

/* Portfolio Section Background */
#portfolio {
    background-image: url('images/bg_5.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

#portfolio::before {
    display: none;
}

/* Pricing Section Background */
#pricing {
    background-image: url('images/bg_6.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

#pricing::before {
    display: none;
}

#pricing .section-content {
    position: relative;
    z-index: 2;
}

#pricing .section-title,
#pricing .section-desc,
#pricing .section-label {
    color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-primary);
}

.mobile-menu-btn .icon-close {
    display: none;
}

.mobile-menu-btn.active .icon-hamburger {
    display: none;
}

.mobile-menu-btn.active .icon-close {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #E0F2FE, #EFF6FF);
    /* More visible blue */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.mobile-menu .mobile-nav-cta {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        justify-content: space-between;
    }
}