:root {
    --primary-color: #00823F;
    --primary-hover: #006631;
    --dark-bg: #121212;
    --light-bg: #F5F3EF;
    --beige-bg: #EAE6DF;
    --text-main: #222222;
    --text-muted: #666666;
    --text-light: #FFFFFF;
    --border-color: #DDDDDD;
    --font-main: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --container-width: 1280px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.5;
    font-size: 16px;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
}

.text-green {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--text-main);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    color: var(--text-light);
}
.btn-outline-light:hover {
    border-color: var(--text-light);
    background-color: rgba(255,255,255,0.1);
}

.btn-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}
.btn-dark:hover {
    background-color: #000;
}

.w-100 { width: 100%; }

/* Typography & Sections */
.section {
    padding: 100px 0;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.section-number {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
}
.dark-section .section-number {
    color: rgba(255,255,255,0.5);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.section-title .italic-serif {
    text-transform: none;
    font-weight: 400;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}
.dark-section .section-desc {
    color: rgba(255,255,255,0.7);
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}
.section-header.space-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.section-header.align-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.align-right { text-align: right; }

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
}
.header.scrolled .main-nav a,
.header.scrolled .phone {
    color: var(--text-main);
}
.header.scrolled .btn-outline {
    border-color: var(--text-main);
    color: var(--text-main);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo img {
    height: 30px;
}
.main-nav ul {
    display: flex;
    gap: 30px;
}
.main-nav a {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.header-action {
    display: flex;
    align-items: center;
    gap: 30px;
}
.phone {
    color: var(--text-light);
    font-weight: 700;
    font-size: 14px;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}
.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}
.header.scrolled .mobile-menu-toggle span { background: var(--text-main); }
.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:nth-child(3) { top: 18px; }

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}
.hero-content {
    width: 100%;
    padding-top: 80px;
}
.hero-tag {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}
.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.hero-title .italic-serif {
    font-size: 80px;
    text-transform: none;
}
.hero-badge {
    display: inline-block;
    background-color: #2F6C95;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 30px;
}
.hero-desc {
    font-size: 18px;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}
.hero-features {
    display: flex;
    gap: 40px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}
.hero-features span {
    position: relative;
}
.hero-features span:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: rgba(255,255,255,0.3);
}

.marquee-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
}
.marquee-content span {
    margin-right: 40px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Features Grid */
.features-section {
    background-color: #FAFAFA;
}
.large-number {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 120px;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    line-height: 1;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background-color: #FFFFFF;
    padding: 40px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}
.fc-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 24px;
}
.fc-num {
    color: var(--border-color);
    font-weight: 700;
}
.fc-title {
    font-size: 18px;
    margin-bottom: 15px;
}
.fc-desc {
    color: var(--text-muted);
    font-size: 14px;
}
.fc-arrow {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: var(--border-color);
    font-size: 20px;
}
.feature-card:hover .fc-arrow {
    color: var(--primary-color);
}

/* About SPC */
.about-spc {
    background-color: var(--light-bg);
}
.split-left {
    position: relative;
}
.split-left img {
    width: 100%;
    height: auto;
}
.img-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 700;
}
.about-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-list li {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}
.about-list li span {
    color: var(--text-muted);
    font-size: 12px;
}

/* Tech Section */
.tech-img-wrapper {
    position: relative;
}
.layer-info {
    margin-bottom: 40px;
    position: relative;
}
.layer-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.layer-info h4 span {
    color: var(--primary-color);
    font-size: 14px;
    margin-right: 10px;
}
.layer-info p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
.left-layer {
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.2);
}
.right-layer {
    position: absolute;
    width: 250px;
}
.layer-3 { top: 30%; right: -50px; }
.layer-4 { bottom: 10%; right: -50px; }

/* Collection Section */
.filter-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}
.filter-tabs button {
    background: none;
    border: none;
    padding: 15px 0;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
}
.filter-tabs button.active {
    color: var(--text-main);
}
.filter-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    cursor: pointer;
}
.product-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.product-img img {
    width: 100%;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
    transform: scale(1.05);
}
.product-code {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.view-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    cursor: pointer;
}
.product-card:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
}
.product-type {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}
.product-name {
    font-size: 16px;
    font-weight: 700;
}

/* Styles Section */
.styles-section {
    background-color: #FAFAFA;
}
.styles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.style-card {
    position: relative;
    height: 500px;
    overflow: hidden;
}
.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.style-card:hover img {
    transform: scale(1.05);
}
.style-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}
.style-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.style-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}
.style-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Application */
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.app-card {
    position: relative;
    height: 400px;
    overflow: hidden;
}
.app-card.wide {
    grid-column: span 3;
    height: 500px;
}
.app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.app-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.app-overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
}
.app-overlay p {
    color: rgba(255,255,255,0.8);
}
.app-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

/* Compare */
.compare-section {
    background-color: var(--beige-bg);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
}
.compare-table th {
    text-align: left;
    padding: 20px 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}
.compare-table td {
    padding: 20px 10px;
    border-bottom: 1px solid var(--border-color);
}
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #CCC;
}
.dot.highlight {
    background-color: var(--primary-color);
}

/* Process */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    border-top: 1px solid var(--primary-color);
    padding-top: 30px;
}
.timeline-step {
    position: relative;
}
.t-num {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}
.timeline-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.timeline-step p {
    font-size: 14px;
    color: var(--text-muted);
}
.t-arrow {
    position: absolute;
    top: 5px;
    right: 0;
    color: var(--border-color);
}

.process-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pi-item {
    height: 300px;
}
.pi-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pi-item.bg-green {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pi-tag {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.pi-item.bg-green h3 {
    font-size: 28px;
    line-height: 1.2;
}

/* Featured Project */
.featured-project {
    position: relative;
    height: 600px;
}
.fp-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fp-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 400px;
}
.fp-tag {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0,0,0,0.5);
    font-size: 12px;
    margin-bottom: 20px;
}
.fp-title {
    font-size: 36px;
    margin-bottom: 5px;
}
.fp-subtitle {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}
.fp-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
}
.meta-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 5px;
}
.meta-val {
    font-weight: 700;
}
.fp-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.fp-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}
.fp-btn:hover {
    background: #fff;
    color: #000;
}

/* Commit */
.commit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.commit-card {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.c-num {
    display: block;
    color: var(--border-color);
    font-size: 14px;
    margin-bottom: 20px;
}
.commit-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
}
.commit-card p {
    font-size: 14px;
    color: var(--text-muted);
}
.c-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--primary-color);
}
.stats-banner {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
}
.stats-flex {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.stat-val {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 14px;
}

/* Testimonials */
.test-section {
    background-color: var(--light-bg);
}
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.test-card {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--border-color);
}
.test-card.active-card {
    background: var(--dark-bg);
    color: #fff;
    border-color: var(--dark-bg);
}
.quote-icon {
    font-family: var(--font-serif);
    font-size: 60px;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}
.test-quote {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 40px;
    min-height: 80px;
}
.test-author strong {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}
.test-author span {
    font-size: 12px;
    color: var(--text-muted);
}
.active-card .test-author span {
    color: rgba(255,255,255,0.6);
}

/* Pre-footer Form */
.pre-footer {
    padding: 100px 0;
}
.contact-info {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ci-label {
    display: inline-block;
    width: 100px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}
.pf-form-wrapper {
    display: flex;
    justify-content: flex-end;
}
.pf-form {
    background: #fff;
    color: var(--text-main);
    padding: 50px;
    width: 100%;
    max-width: 500px;
}
.pf-form h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.pf-form p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-main);
    font-size: 14px;
    outline: none;
}
.form-group input:focus {
    border-color: var(--primary-color);
}
.form-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
}

/* Footer Bottom */
.footer {
    padding-bottom: 50px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
}
.footer-contact p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
.footer-links {
    display: flex;
    gap: 30px;
}
.social-links {
    display: flex;
    gap: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-links a:hover {
    background: #fff;
    color: #000;
}

/* Responsive */
@media (max-width: 1199px) {
    .section-title { font-size: 40px; }
    .hero-title { font-size: 56px; }
    .hero-title .italic-serif { font-size: 64px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .styles-grid { grid-template-columns: repeat(2, 1fr); }
    .app-grid { grid-template-columns: repeat(2, 1fr); }
    .app-card.wide { grid-column: span 2; }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .commit-grid { grid-template-columns: repeat(2, 1fr); }
    .test-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 32px; }
    
    .main-nav, .header-action .btn { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .hero-title { font-size: 40px; }
    .hero-title .italic-serif { font-size: 44px; }
    .hero-features { flex-direction: column; gap: 15px; }
    .hero-features span::after { display: none; }
    
    .features-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .styles-grid { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: 1fr; }
    .app-card.wide { grid-column: span 1; height: 300px; }
    
    .timeline { grid-template-columns: 1fr; }
    .process-images { grid-template-columns: 1fr; }
    .stats-flex { flex-direction: column; gap: 30px; }
    
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { flex-direction: column; gap: 15px; }
}
