@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --orange-900: #7c2d12;
    --orange-800: #9a3412;
    --orange-700: #c2410c;
    --orange-600: #dc2626;
    --orange-500: #ea580c;
    --orange-400: #f97316;
    --orange-300: #fb923c;
    --orange-200: #fed7aa;
    --orange-100: #ffedd5;

    --light-bg: #ffffff;
    --light-bg-secondary: #fafafa;
    --light-bg-tertiary: #f5f5f5;
    --light-surface: #ffffff;
    --light-surface-hover: #f9f9f9;
    --light-text: #0f0f0f;
    --light-text-secondary: #525252;
    --light-text-tertiary: #737373;
    --light-border: #e5e5e5;
    --light-border-hover: #d4d4d4;
    --light-shadow: rgba(0, 0, 0, 0.05);
    --light-shadow-lg: rgba(0, 0, 0, 0.1);

    --dark-bg: #0a0a0a;
    --dark-bg-secondary: #141414;
    --dark-bg-tertiary: #1a1a1a;
    --dark-surface: #1f1f1f;
    --dark-surface-hover: #262626;
    --dark-text: #fafafa;
    --dark-text-secondary: #a3a3a3;
    --dark-text-tertiary: #737373;
    --dark-border: #262626;
    --dark-border-hover: #404040;
    --dark-shadow: rgba(0, 0, 0, 0.3);
    --dark-shadow-lg: rgba(0, 0, 0, 0.5);

    --header-bg: #0a0a0a;
    --header-bg-scrolled: rgba(10, 10, 10, 0.95);
    --header-text: #fafafa;
    --header-text-secondary: #a3a3a3;
    --header-border: #262626;
    --footer-bg: #141414;
    --footer-surface: #1a1a1a;
}

body {
    --bg: var(--light-bg);
    --bg-secondary: var(--light-bg-secondary);
    --bg-tertiary: var(--light-bg-tertiary);
    --surface: var(--light-surface);
    --surface-hover: var(--light-surface-hover);
    --text: var(--light-text);
    --text-secondary: var(--light-text-secondary);
    --text-tertiary: var(--light-text-tertiary);
    --border: var(--light-border);
    --border-hover: var(--light-border-hover);
    --shadow: var(--light-shadow);
    --shadow-lg: var(--light-shadow-lg);
    --primary: var(--orange-600);
    --primary-hover: var(--orange-700);
    --primary-light: var(--orange-400);
    --accent: var(--orange-500);
}

body.dark-mode {
    --bg: var(--dark-bg);
    --bg-secondary: var(--dark-bg-secondary);
    --bg-tertiary: var(--dark-bg-tertiary);
    --surface: var(--dark-surface);
    --surface-hover: var(--dark-surface-hover);
    --text: var(--dark-text);
    --text-secondary: var(--dark-text-secondary);
    --text-tertiary: var(--dark-text-tertiary);
    --border: var(--dark-border);
    --border-hover: var(--dark-border-hover);
    --shadow: var(--dark-shadow);
    --shadow-lg: var(--dark-shadow-lg);
    --primary: var(--orange-500);
    --primary-hover: var(--orange-600);
    --primary-light: var(--orange-400);
    --accent: var(--orange-400);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

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

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(var(--nav-bg-rgb), 0.9);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

body:not(.dark-mode) {
    --nav-bg-rgb: 255, 255, 255;
}

body.dark-mode {
    --nav-bg-rgb: 10, 10, 10;
}

nav.scrolled {
    background: rgba(var(--nav-bg-rgb), 0.98);
    box-shadow: 0 4px 20px var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    height: 48px;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.05);
}

.logo {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-dark,
.logo-white {
    display: none;
}

body:not(.dark-mode) .logo-dark {
    display: block;
}

body.dark-mode .logo-white {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

body:not(.dark-mode) {
    --primary-rgb: 220, 38, 38;
}

body.dark-mode {
    --primary-rgb: 249, 115, 22;
}

.nav-menu a.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
    color: var(--text);
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    top: -300px;
    right: -200px;
    filter: blur(100px);
    animation: float 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.08;
    bottom: -400px;
    left: -300px;
    filter: blur(120px);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

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

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

.hero-badge {
    display: inline-block;
    background: rgba(212, 67, 21, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(212, 67, 21, 0.2);
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

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

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

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-window {
    width: 100%;
    max-width: 600px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow-lg);
}

.code-header {
    height: 40px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
}

.window-controls {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 16px;
}

.window-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.window-control.close {
    background: #ff5f57;
}

.window-control.minimize {
    background: #ffbd2e;
}

.window-control.maximize {
    background: #28ca42;
}

.code-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.code-content {
    padding: 24px 24px 24px 16px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    overflow-x: auto;
    background: var(--card-bg);
}

.code-line {
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.code-line:not(:first-child) {
    margin-left: 10px;
}

.code-line:first-child {
    margin-bottom: 12px;
}

.code-line .code-keyword {
    color: var(--primary);
    font-weight: 600;
}

.code-line .code-keyword:nth-child(2) {
    margin-right: 4px;
}

.code-variable {
    color: var(--text);
    font-weight: 600;
}

.code-class {
    color: var(--accent);
    font-weight: 600;
}

.code-method {
    color: var(--text);
    font-weight: 600;
}

.code-property {
    color: var(--text);
    font-weight: 600;
}

.code-string {
    color: var(--accent);
    font-weight: 500;
}

.code-comment {
    color: var(--text-tertiary);
    font-style: italic;
    font-weight: 400;
    margin-left: 10px;
}

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

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

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.service-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 12px;
}

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

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: var(--primary);
}

.product-header {
    padding: 32px;
    background: var(--bg-tertiary);
    text-align: center;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.product-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
}

.product-features i {
    color: var(--primary);
    font-size: 16px;
}

.contact {
    background: var(--bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.form-title {
    font-size: 28px;
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    color: var(--text);
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg);
}

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

.form-submit {
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(234, 88, 12, 0.3);
}

.contact-info {
    padding-left: 32px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 20px;
    align-items: start;
    transition: all 0.2s ease;
}

.info-card:hover {
    transform: translateX(8px);
    border-color: var(--primary);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

footer {
    background: var(--footer-bg);
    padding: 64px 0 32px;
    border-top: 1px solid var(--header-border);
    color: var(--header-text);
}

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

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

.footer-logo-wrapper {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-description {
    color: var(--header-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    background: var(--dark-bg-tertiary);
    border: 1px solid var(--header-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--header-text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--header-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--header-border);
    text-align: center;
    color: var(--dark-text-tertiary);
}

.success-message {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid var(--primary);
    border-radius: 10px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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


@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        margin-top: 20px;
        gap: 60px;
    }

    .section {
        padding: 80px 0;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 810px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-container {
        height: 64px;
    }

    .logo-wrapper {
        height: 44px;
    }

    .logo {
        height: 36px;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: var(--bg);
        flex-direction: column;
        padding: 0;
        gap: 0;
        border-top: 1px solid var(--border);
        box-shadow: 2px 0 20px var(--shadow-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    body:not(.dark-mode) .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }

    body.dark-mode .nav-menu {
        background: rgba(10, 10, 10, 0.98);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        width: 100%;
        padding: 16px 20px;
        border-radius: 0;
        font-size: 16px;
        display: block;
    }

    .nav-menu a:hover {
        background: var(--bg-tertiary);
    }

    .nav-menu a.active {
        border-left: 4px solid var(--primary);
        background: var(--bg-tertiary);
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cta-button {
        display: none;
    }

    .hero {
        min-height: calc(100vh - 64px);
        padding: 80px 0 60px;
    }

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

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

    .hero-text h1 {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }

    .hero-visual {
        order: -1;
    }

    .code-window {
        max-width: 100%;
        margin: 0 -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .code-content {
        padding: 16px;
        font-size: 13px;
    }

    .code-header {
        height: 40px;
    }

    .window-control {
        width: 10px;
        height: 10px;
    }

    .code-title {
        font-size: 12px;
    }

    .code-line {
        margin-bottom: 6px;
    }

    .code-line:not(:first-child) {
        margin-left: 16px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
        padding: 32px;
        background: var(--bg-tertiary);
        border-radius: 16px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .stat-number {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 40px);
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 16px;
        padding: 0 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .service-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .service-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-header {
        padding: 24px;
    }

    .product-icon {
        font-size: 40px;
    }

    .product-body {
        padding: 24px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-price {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .product-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .product-features {
        margin-bottom: 24px;
    }

    .product-features li {
        font-size: 14px;
        padding: 6px 0;
    }

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

    .contact-form {
        padding: 32px 24px;
    }

    .form-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

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

    .form-label {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 15px;
    }

    .form-submit {
        width: 100%;
        padding: 14px 28px;
        font-size: 16px;
    }

    .info-card {
        padding: 24px;
        gap: 16px;
        border-radius: 12px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }

    .info-content h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .info-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    footer {
        padding: 48px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo-wrapper {
        text-align: center;
    }

    .footer-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 16px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .footer-section h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .footer-bottom {
        padding-top: 24px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .section-badge {
        font-size: 12px;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .nav-container {
        height: 60px;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .logo-wrapper {
        height: 40px;
        padding: 0 8px;
    }

    .logo {
        height: 32px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-text h1 {
        font-size: clamp(28px, 10vw, 40px);
        margin-bottom: 16px;
    }

    .hero-text p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .code-window {
        margin: 0 -12px;
    }

    .code-content {
        padding: 12px;
        font-size: 12px;
        line-height: 1.6;
    }

    .code-header {
        height: 36px;
        padding: 0 12px;
    }

    .window-controls {
        left: 12px;
        gap: 6px;
    }

    .window-control {
        width: 8px;
        height: 8px;
    }

    .code-title {
        font-size: 11px;
    }

    .code-line {
        margin-bottom: 4px;
    }

    .code-line:not(:first-child) {
        margin-left: 12px;
    }

    .code-comment {
        margin-left: 0;
    }

    .stats {
        padding: 24px 20px;
        gap: 20px;
        margin-top: 32px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 13px;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(24px, 8vw, 32px);
    }

    .section-subtitle {
        font-size: 15px;
        padding: 0;
    }

    .service-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 12px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .service-link {
        font-size: 14px;
    }

    .product-header {
        padding: 24px;
    }

    .product-badge {
        font-size: 12px;
        padding: 4px 12px;
        top: 12px;
        right: 12px;
    }

    .product-body {
        padding: 24px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-price {
        font-size: 28px;
    }

    .product-description {
        font-size: 14px;
    }

    .product-features {
        margin-bottom: 24px;
    }

    .product-features li {
        font-size: 13px;
        padding: 4px 0;
    }

    .contact-form {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .form-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
    }

    .form-submit {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 8px;
    }

    .info-card {
        padding: 20px;
        gap: 16px;
        border-radius: 12px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }

    .info-content h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .info-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer-logo {
        height: 36px;
    }

    .footer-description {
        font-size: 14px;
        padding: 0 20px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 13px;
        padding: 0 20px;
    }

    .success-message {
        font-size: 14px;
        padding: 12px 16px;
        margin-top: 20px;
    }
}

@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 26px;
    }

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

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .product-price {
        font-size: 24px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: calc(100vh - 60px);
        padding: 40px 0;
    }

    .nav-menu {
        height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        padding: 20px;
    }

    .code-window {
        max-height: 280px;
        overflow: hidden;
    }

    .code-content {
        padding: 12px;
        font-size: 11px;
    }
}

@media (hover: none) and (pointer: coarse) {

    .btn,
    .nav-menu a,
    .social-link,
    .form-submit {
        min-height: 44px;
    }

    .service-card:hover,
    .product-card:hover,
    .info-card:hover {
        transform: none;
    }

    .form-input,
    .form-select,
    .form-textarea {}
}

@media (max-width: 810px) {
    .logo-wrapper {
        height: 42px;
    }

    .logo {
        height: 34px;
        width: auto;
    }

    .nav-container {
        height: 66px;
    }

    .nav-menu {
        top: 66px;
        height: calc(100vh - 66px);
    }

    .hero {
        min-height: calc(100vh - 66px);
    }
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}