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

/* --- CUSTOM VARIABLES --- */
:root {
    --bg-primary: #f8fafc;        /* Slate 50 */
    --bg-card: #ffffff;           /* White */
    --text-primary: #0f172a;      /* Slate 900 */
    --text-secondary: #475569;    /* Slate 600 */
    --text-muted: #64748b;        /* Slate 500 */
    --accent-blue: #0ea5e9;       /* Sky 500 */
    --accent-blue-hover: #0284c7; /* Sky 600 */
    --accent-blue-light: #e0f2fe; /* Sky 100 */
    --border-color: #e2e8f0;      /* Slate 200 */
    --border-color-light: #f1f5f9;/* Slate 100 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- CONTAINER & SECTIONS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 7rem 0;
    position: relative;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.btn:active {
    transform: translateY(0);
}

/* --- HEADER / NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.header.sticky {
    height: 70px;
    background: rgba(248, 250, 252, 0.85); /* Translucent slate-50 */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo svg {
    color: var(--accent-blue);
    width: 32px;
    height: 32px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue-hover);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition-smooth);
}

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

/* --- LANGUAGE SELECTOR --- */
.lang-selector {
    display: flex;
    align-items: center;
    background: rgba(226, 232, 240, 0.6);
    padding: 0.25rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.lang-btn.active {
    background-color: var(--bg-card);
    color: var(--accent-blue-hover);
    box-shadow: var(--shadow-sm);
}

/* --- HERO SECTION --- */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.07) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-blue-light);
    color: var(--accent-blue-hover);
    padding: 0.35rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

/* Hero Visual Element (Prism/Hexagon Clean Graphic) */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-shape-bg {
    position: absolute;
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0.02) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(10px);
    animation: morphShape 15s ease-in-out infinite alternate;
}

.visual-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    width: 320px;
    text-align: center;
    transition: var(--transition-smooth);
}

.visual-card:hover {
    transform: translateY(-5px);
}

.visual-card svg {
    color: var(--accent-blue);
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(14, 165, 233, 0.15));
}

.visual-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.visual-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- SECTION GENERAL --- */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue-hover);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- WHY US / FEATURES --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.why-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.why-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background-color: var(--accent-blue-light);
    color: var(--accent-blue-hover);
    margin-bottom: 1.5rem;
}

.why-icon svg {
    width: 26px;
    height: 26px;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* --- PRODUCTS BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.bento-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: transparent;
    transition: var(--transition-fast);
}

.bento-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-4px);
}

.bento-item:hover::before {
    background-color: var(--accent-blue);
}

.bento-header {
    margin-bottom: 1.5rem;
}

.bento-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(14, 165, 233, 0.06);
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.bento-item:hover .bento-icon {
    background-color: var(--accent-blue);
    color: #ffffff;
    transform: rotate(5deg) scale(1.05);
}

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

.bento-item h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.bento-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-specs {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color-light);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.bento-specs li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bento-specs li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

/* --- ABOUT SECTION --- */
#about {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.metric-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.metric-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue-hover);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- CONTACTS & EMAIL FORM --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-email-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
}

.contact-email-card svg.mail-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.email-address {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0 1.5rem;
    letter-spacing: -0.01em;
}

#copy-email-btn {
    width: 100%;
    outline: none;
}

#copy-email-btn.copied {
    background-color: #22c55e; /* Green */
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
    border-color: #22c55e;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

.form-control:focus {
    border-color: var(--accent-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

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

/* --- FOOTER --- */
.footer {
    background-color: var(--text-primary);
    color: #94a3b8; /* Gray 400 */
    padding: 4rem 0;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.9rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-logo svg {
    color: var(--accent-blue);
    width: 24px;
    height: 24px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-nav-toggle {
    display: none;
}

/* --- ANIMATIONS --- */
@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .header {
        height: 70px;
    }
    
    .header.sticky {
        height: 60px;
    }
    
    .nav-list {
        display: none; /* Simplification for small sizes - could add slide-out menu if requested, but maintaining simple layout */
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .about-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .email-address {
        font-size: 1.25rem;
    }
}

/* --- PRIVACY POLICY MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    box-shadow: var(--shadow-lg);
    animation: modalSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.close-btn:hover {
    color: var(--accent-blue-hover);
    transform: scale(1.1);
}

.close-btn svg {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-body p {
    margin-bottom: 1.25rem;
}

.modal-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.modal-body ul {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

@keyframes modalSlide {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
