/* 
 * Korugee85 - Main Stylesheet
 * Modern, responsive design with SEO optimization
 */

/* Base & Reset */
:root {
    /* Color Variables - Teal/Cyan Theme */
    --primary: #0891b2;         /* Cyan-600 */
    --primary-light: #06b6d4;   /* Cyan-500 */
    --primary-dark: #0e7490;    /* Cyan-700 */
    --secondary: #2dd4bf;       /* Teal-400 */
    --secondary-light: #5eead4; /* Teal-300 */
    --secondary-dark: #14b8a6;  /* Teal-500 */
    --accent: #22d3ee;          /* Cyan-400 */
    --neutral-50: #f8fafc;      /* Slate-50 */
    --neutral-100: #f1f5f9;     /* Slate-100 */
    --neutral-200: #e2e8f0;     /* Slate-200 */
    --neutral-300: #cbd5e1;     /* Slate-300 */
    --neutral-400: #94a3b8;     /* Slate-400 */
    --neutral-500: #64748b;     /* Slate-500 */
    --neutral-600: #475569;     /* Slate-600 */
    --neutral-700: #334155;     /* Slate-700 */
    --neutral-800: #1e293b;     /* Slate-800 */
    --neutral-900: #0f172a;     /* Slate-900 */
    --neutral-950: #020617;     /* Slate-950 */
    
    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-all: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-colors: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-opacity: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-shadow: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--neutral-700);
    background-color: var(--neutral-50);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

button, input, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

main {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

h1 {
    font-size: 5.2rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 4rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: var(--space-6);
}

.lead {
    font-size: 1.8rem;
    line-height: 1.6;
}

.highlight {
    color: var(--primary);
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 124rem;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

section {
    padding: var(--space-24) 0;
}

.section-header {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto var(--space-16);
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: var(--neutral-900);
    font-weight: 600;
    font-size: 1.4rem;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    color: var(--neutral-600);
    font-size: 1.8rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: var(--transition-all);
    font-size: 1.6rem;
    cursor: pointer;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    padding: var(--space-4) 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-all);
}

.site-header.scrolled {
    padding: var(--space-3) 0;
    box-shadow: var(--shadow-md);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-svg {
    display: block;
    height: 4.5rem;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a {
    color: var(--neutral-800);
    font-weight: 500;
    transition: var(--transition-colors);
    position: relative;
}

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

.nav-links a:not(.btn-primary)::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-all);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--neutral-800);
    margin: 6px 0;
    transition: var(--transition-all);
}

/* Hero Section */
.hero-section {
    padding-top: 10rem;
    padding-bottom: var(--space-24);
    background: linear-gradient(135deg, #f0fdfa, #ecfeff); /* Teal-50, Cyan-50 */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--neutral-600);
    margin-bottom: var(--space-8);
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-8);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 35%, rgba(56, 189, 248, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 75% 44%, rgba(45, 212, 191, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 46% 52%, rgba(8, 145, 178, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 84% 81%, rgba(20, 184, 166, 0.05) 0%, transparent 25%);
    z-index: 1;
    opacity: 0.8;
}

/* Solutions Section */
.solutions-section {
    background-color: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: var(--space-6);
}

.solution-card {
    background-color: var(--neutral-50);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    transition: var(--transition-all);
    border: 1px solid var(--neutral-100);
}

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

.solution-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(8, 145, 178, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-6);
}

.solution-icon svg {
    width: 2.8rem;
    height: 2.8rem;
}

.solution-card h3 {
    margin-bottom: var(--space-4);
    font-size: 2.2rem;
}

.solution-card p {
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
}

.solution-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-colors);
}

.solution-link:hover {
    color: var(--primary-dark);
}

.solution-link::after {
    content: "→";
    margin-left: var(--space-2);
    transition: var(--transition-transform);
}

.solution-link:hover::after {
    transform: translateX(4px);
}

/* Technology Section */
.technology-section {
    background: linear-gradient(135deg, #f0fdfa, #ecfeff); /* Teal-50, Cyan-50 */
    position: relative;
    overflow: hidden;
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.tech-feature {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow);
    border: 1px solid var(--neutral-100);
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}

.tech-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-number {
    font-size: 6rem;
    font-weight: 700;
    color: rgba(8, 145, 178, 0.1);
    position: absolute;
    top: -1rem;
    right: var(--space-4);
    line-height: 1;
    font-family: var(--font-heading);
}

.tech-feature h3 {
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.tech-feature p {
    color: var(--neutral-600);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.tech-visual {
    position: relative;
}

.tech-pattern {
    position: relative;
    width: 100%;
    height: 40rem;
    background-color: rgba(8, 145, 178, 0.03);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 145, 178, 0.1);
}

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: var(--space-4);
    width: 70%;
    height: 70%;
}

.pattern-grid > div {
    background-color: rgba(8, 145, 178, 0.06);
    border-radius: var(--radius);
    transition: var(--transition-all);
}

.pattern-grid > div:nth-child(odd) {
    background-color: rgba(20, 184, 166, 0.08);
}

.pattern-grid > div:hover {
    transform: scale(1.05);
    background-color: rgba(8, 145, 178, 0.1);
}

.pattern-grid > div:nth-child(odd):hover {
    background-color: rgba(20, 184, 166, 0.12);
}

/* Resources Section */
.resources-section {
    background-color: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: var(--space-6);
}

.resource-category {
    background-color: var(--neutral-50);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    border: 1px solid var(--neutral-100);
}

.resource-category h3 {
    margin-bottom: var(--space-6);
    color: var(--primary);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--neutral-200);
}

.resource-list li {
    margin-bottom: var(--space-3);
}

.resource-list a {
    display: block;
    padding: var(--space-4);
    border-radius: var(--radius);
    background-color: white;
    color: var(--neutral-700);
    transition: var(--transition-all);
    border: 1px solid var(--neutral-100);
}

.resource-list a:hover {
    color: var(--primary);
    background-color: rgba(8, 145, 178, 0.05);
    transform: translateX(var(--space-2));
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f0fdfa, #ecfeff); /* Teal-50, Cyan-50 */
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.about-text {
    font-size: 1.7rem;
    color: var(--neutral-700);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.stat-item {
    background-color: white;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--neutral-100);
    transition: var(--transition-all);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stat-number {
    display: block;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    color: var(--neutral-600);
    font-size: 1.5rem;
    margin-top: var(--space-2);
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-form {
    background-color: var(--neutral-50);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--neutral-100);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--neutral-800);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius);
    background-color: white;
    transition: var(--transition-all);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
    outline: none;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: var(--space-4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.info-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding: var(--space-6);
    background-color: var(--neutral-50);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--neutral-100);
    transition: var(--transition-all);
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(8, 145, 178, 0.1);
    border-radius: var(--radius);
    color: var(--primary);
}

.info-icon svg {
    width: 2rem;
    height: 2rem;
}

.info-content h4 {
    margin-bottom: var(--space-1);
    color: var(--neutral-800);
}

.info-content p {
    margin: 0;
    color: var(--neutral-600);
}

/* Footer */
.site-footer {
    background-color: var(--neutral-900);
    color: var(--neutral-300);
    padding-top: var(--space-16);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
}

.footer-logo svg {
    width: 15rem;
    height: auto;
    margin-bottom: var(--space-6);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.footer-column h4 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: var(--space-6);
    position: relative;
    padding-bottom: var(--space-4);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background-color: var(--primary);
}

.footer-column ul li {
    margin-bottom: var(--space-3);
}

.footer-column ul li a {
    color: var(--neutral-400);
    transition: var(--transition-colors);
}

.footer-column ul li a:hover {
    color: white;
}

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

.copyright p {
    margin: 0;
    font-size: 1.4rem;
    color: var(--neutral-500);
}

.footer-favicon {
    display: flex;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 1100px) {
    html {
        font-size: 58%;
    }
    
    .tech-showcase,
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .tech-pattern {
        height: 30rem;
    }
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    h1 {
        font-size: 4.2rem;
    }
    
    h2 {
        font-size: 3.4rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 40rem;
        height: 100vh;
        flex-direction: column;
        background-color: white;
        padding: 10rem var(--space-8) var(--space-8);
        box-shadow: var(--shadow-xl);
        transition: var(--transition-all);
        z-index: 99;
        gap: var(--space-6);
        align-items: flex-start;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 30rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .solutions-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 52%;
    }
    
    section {
        padding: var(--space-16) 0;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}
