/* ===== CSS Variables & Reset ===== */
:root {
    --primary: #e94560;
    --primary-dark: #c93a52;
    --secondary: #0f3460;
    --accent: #16213e;
    --bg: #1a1a2e;
    --text: #f0f0f0;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gradient-hero: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
    --gradient-text: linear-gradient(135deg, #fff 0%, #e94560 100%);
}

[data-theme="light"] {
    --bg: #f5f5f5;
    --text: #1a1a2e;
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --gradient-hero: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
    --gradient-text: linear-gradient(135deg, #1a1a2e 0%, #e94560 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background 0.5s, color 0.5s;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.5s;
}

[data-theme="light"] header {
    background: rgba(245, 245, 245, 0.85);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.85;
}

.logo svg {
    width: 44px;
    height: 44px;
    transition: transform 0.3s;
}

.logo:hover svg {
    transform: scale(1.05) rotate(-2deg);
}

.logo span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s;
}

nav a:hover::after,
nav a.active::after {
    transform: translateX(-50%) scaleX(1);
}

nav a:hover,
nav a.active {
    background: var(--glass-bg);
    color: var(--primary);
}

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

.theme-toggle,
.search-toggle,
.menu-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 18px;
    line-height: 1;
}

.theme-toggle:hover,
.search-toggle:hover,
.menu-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
}

/* ===== Search Overlay ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.search-overlay.open {
    display: flex;
}

.search-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 16px 24px;
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 18px;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .search-box input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.search-box button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 10px 28px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.search-box button:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.search-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.3s;
    line-height: 1;
}

.search-close:hover {
    transform: rotate(90deg);
}

/* ===== Mobile Nav ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1500;
    padding: 80px 30px;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-left: 1px solid var(--glass-border);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.3s;
    line-height: 1;
}

.mobile-nav-close:hover {
    transform: rotate(90deg);
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, var(--secondary), var(--bg));
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900'%3E%3Ccircle cx='200' cy='200' r='300' fill='%23e94560' opacity='0.08'/%3E%3Ccircle cx='1200' cy='600' r='400' fill='%230f3460' opacity='0.1'/%3E%3C/svg%3E") no-repeat center/cover;
    animation: floatBg 20s ease-in-out infinite alternate;
}

@keyframes floatBg {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

.hero-slider {
    width: 100%;
    position: relative;
}

.hero-slide {
    display: none;
    animation: fadeSlide 1s ease;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeSlide {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

.hero-text h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.8;
}

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

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(233, 69, 96, 0.5);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

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

.hero-visual svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(233, 69, 96, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(233, 69, 96, 0.5);
}

.slider-dot:hover {
    background: var(--primary);
    opacity: 0.7;
}

/* ===== Section Common ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Glass Card ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    transition: all 0.4s;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(233, 69, 96, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* ===== Grid Layouts ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    opacity: 0.7;
}

.breadcrumb a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb span {
    margin: 0 8px;
}

/* ===== Brand Story ===== */
.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.brand-story-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.brand-story-text h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin-top: 8px;
    border-radius: 2px;
}

.brand-story-text p {
    margin-bottom: 16px;
    opacity: 0.85;
    line-height: 1.8;
}

.brand-story-visual svg {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(233, 69, 96, 0.15));
    transition: transform 0.4s;
}

.brand-story-visual svg:hover {
    transform: scale(1.02);
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg);
    transition: transform 0.3s;
}

.timeline-item:hover::before {
    transform: scale(1.3);
}

.timeline-year {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-desc {
    opacity: 0.75;
}

/* ===== Team Card ===== */
.team-card {
    text-align: center;
}

.team-card svg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 16px;
    transition: transform 0.4s;
}

.team-card:hover svg {
    transform: scale(1.05);
}

.team-card h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.team-card p {
    opacity: 0.7;
    font-size: 14px;
}

/* ===== Product Card ===== */
.product-card {
    text-align: center;
}

.product-card svg {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    transition: transform 0.4s;
}

.product-card:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

.product-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-card p {
    opacity: 0.75;
    font-size: 14px;
}

/* ===== Service Card ===== */
.service-card {
    text-align: center;
}

.service-card svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    transition: transform 0.4s;
}

.service-card:hover svg {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* ===== Partners ===== */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-logos svg {
    width: 120px;
    height: 60px;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}

.partner-logos svg:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ===== Testimonials ===== */
.testimonial-card {
    padding: 32px;
}

.testimonial-card .stars {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 12px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 16px;
    opacity: 0.85;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author svg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonial-author strong {
    font-size: 16px;
}

/* ===== FAQ ===== */
.faq-item {
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    transition: background 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: rgba(233, 69, 96, 0.1);
}

.faq-question .icon {
    font-size: 24px;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s;
    padding: 0 24px;
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

/* ===== HowTo ===== */
.howto-steps {
    counter-reset: step;
}

.howto-step {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.howto-step::before {
    counter-increment: step;
    content: counter(step);
    min-width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.howto-step:hover::before {
    transform: scale(1.1);
}

.howto-step h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.howto-step p {
    opacity: 0.8;
}

/* ===== Article Cards ===== */
.article-card {
    padding: 28px;
}

.article-card .date {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 8px;
    display: block;
}

.article-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.article-card:hover h4 {
    color: var(--primary);
}

.article-card p {
    opacity: 0.75;
    margin-bottom: 16px;
    font-size: 15px;
}

.article-card .read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-card .read-more:hover {
    gap: 8px;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

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

.contact-form button {
    width: 100%;
}

/* ===== Footer ===== */
footer {
    background: var(--accent);
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h5 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.footer-col h5::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary);
    margin-top: 6px;
    border-radius: 2px;
}

.footer-col a {
    display: block;
    color: var(--text);
    opacity: 0.7;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: opacity 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--text);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary);
}

.icp {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    opacity: 0.6;
}

.icp a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s;
    line-height: 1;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 32px rgba(233, 69, 96, 0.5);
}

/* ===== Number Counter ===== */
.counter-grid {
    text-align: center;
}

.counter-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
}

.counter-label {
    font-size: 16px;
    opacity: 0.7;
    margin-top: 4px;
}

/* ===== Animation Classes ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== Dark Mode Support via Media Query ===== */
@media (prefers-color-scheme: light) {
    :root {
        --bg: #f5f5f5;
        --text: #1a1a2e;
        --glass-bg: rgba(0, 0, 0, 0.05);
        --glass-border: rgba(0, 0, 0, 0.1);
        --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .brand-story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-story-text h3::after {
        margin: 8px auto 0;
    }

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

    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 80px;
    }

    section {
        padding: 60px 0;
    }

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

    .glass-card {
        padding: 24px;
    }

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

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

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

    .grid-2,
    .grid-3,
    .grid-4 {
        gap: 20px;
    }
}

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

    .hero-text h1 {
        font-size: 28px;
    }

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

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

    .counter-number {
        font-size: 36px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo svg {
        width: 36px;
        height: 36px;
    }

    .header-inner {
        padding: 10px 0;
    }

    .search-box {
        padding: 12px 16px;
    }

    .search-box input {
        font-size: 16px;
    }

    .search-box button {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* ===== Additional Utility ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: white;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}