/* ============================================================
   MASSMАРTH - Centralny plik stylów (style.css)
   Obejmuje: index.html, demo.html, faq.html, oferta.html, kontakt.html
   ============================================================ */

/* --- ZMIENNE I BAZA --- */
:root {
    --primary: #6366f1;
    --secondary: #3b82f6;
    --dark: #0f172a;
    --text-gray: #475569;
    --bg-light: #ffffff;
    --bg-offset: #f8fafc;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.05);
    --brand-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --radius: 16px;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode {
    --dark: #f1f5f9;
    --text-gray: #94a3b8;
    --bg-light: #0f172a;
    --bg-offset: #1e293b;
    --card-bg: #1e293b;
    --border-color: rgba(255, 255, 255, 0.05);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    line-height: 1.2;
    transition: color 0.5s ease;
}

p {
    max-width: 65ch;
}

/* --- LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- PRZYCISKI (UI) --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--brand-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--text-gray);
    box-shadow: none;
    padding: 12px 34px;
}

.btn-outline:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

body.dark-mode .btn-outline {
    color: var(--dark);
    border-color: var(--text-gray);
}

body.dark-mode .btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Styl przycisku zgodny z demo.html */
.btn-primary {
    background: var(--brand-gradient);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* --- SEKCJA TYTUŁY --- */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-title p:first-child {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.82rem;
    display: inline-block;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(59,130,246,0.12));
    border: 1px solid rgba(99,102,241,0.25);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

/* --- HEADER & NAV --- */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.5s ease, border-color 0.5s ease;
}

body.dark-mode header {
    background: rgba(15, 23, 42, 0.8);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Theme toggle - obsługuje zarówno button jak i div */
.theme-toggle,
button.theme-toggle {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-offset);
    transition: background 0.3s, var(--transition);
    border: none;
    color: var(--text-gray);
}

/* Menu toggle - obsługuje zarówno button jak i div */
.menu-toggle,
button.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    border: none;
    background: transparent;
    padding: 5px;
}

/* --- FOOTER --- */
footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-gradient);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 700;
}

.footer-column ul li {
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer-column ul li a {
    color: #94a3b8;
    transition: color 0.3s;
}

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

.copyright {
    color: #64748b;
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

/* --- FAB (Floating Action Button) --- */
.fab-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s;
}

.fab-contact:hover {
    transform: scale(1.05);
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 2000;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--brand-gradient);
    width: 0%;
    transition: width 0.1s;
}

/* --- ANIMACJE REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- ANIMACJE PREMIUM --- */
@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* --- RWD (MOBILE) --- */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 0 30px;
        border-bottom: 1px solid var(--border-color);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        height: 0;
        overflow: hidden;
        align-items: flex-start;
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        height: auto;
        padding: 30px;
        display: flex;
    }

    .menu-toggle,
    button.menu-toggle {
        display: block;
    }

    .fab-contact {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}


/* =============================================================
   INDEX.HTML - Strona główna
   ============================================================= */

/* Hero */
.hero {
    padding: 120px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 40%);
    animation: spin 30s linear infinite;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 25px;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero-typing {
    color: var(--primary);
    position: relative;
    display: inline-block;
    min-height: 1.2em;
    vertical-align: bottom;
}

.hero-typing::after {
    content: '|';
    position: relative;
    margin-left: 2px;
    animation: blink 0.7s infinite;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-gray);
    max-width: 90%;
}

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

.hero-actions .btn:not(.btn-outline) {
    animation: pulse-glow 2.5s infinite;
}

/* Stats */
.stats-section {
    padding: 60px 0;
    background: var(--brand-gradient);
    color: white;
    border-radius: var(--radius);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    gap: 20px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: white;
}

.stat-item p {
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Sekcje strony głównej */
.about,
.portfolio,
.faq {
    padding: 100px 0;
    transition: background 0.3s;
}

.about {
    background: var(--bg-light);
}

.portfolio {
    background: var(--bg-offset);
}

.faq {
    background: var(--bg-light);
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.portfolio-item:nth-child(2) { animation-delay: 1s; }
.portfolio-item:nth-child(3) { animation-delay: 2s; }
.portfolio-item:nth-child(4) { animation-delay: 3s; }

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.portfolio-info {
    padding: 30px;
}

/* FAQ accordion */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--dark);
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-family: inherit;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    color: var(--text-gray);
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
}

@media (max-width: 768px) {
    .stats-section {
        margin-top: 0;
    }
}


/* =============================================================
   DEMO.HTML - Strona demo
   ============================================================= */

/* Hero demo (inne niż hero index) */
.demo-hero {
    padding: 60px 0;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
}

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

.hero-welcome h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero-welcome .line2 {
    color: var(--primary);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.secondary-link {
    font-weight: 600;
    color: var(--dark);
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.secondary-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Ramka telefonu */
.hero-demo {
    position: relative;
    display: flex;
    justify-content: center;
}

.demo-frame-wrapper {
    width: 360px;
    height: 720px;
    background: #1c1c1e;
    border-radius: 45px;
    box-shadow: 0 0 0 12px #1c1c1e, 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.demo-frame-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: #1c1c1e;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 20;
}

.demo-frame-wrapper::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    z-index: 20;
    pointer-events: none;
}

/* Iframe */
iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #fff;
    -webkit-overflow-scrolling: touch;
}

#HAdemoPhone {
    border-radius: 35px;
}

/* Loader */
.loading-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.5s;
    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Panel naścienny (tablet) */
.wall-panel-section {
    padding: 100px 0;
    background: var(--bg-offset);
    border-top: 1px solid var(--border-color);
    text-align: center;
    transition: background 0.5s;
}

.wall-panel-container {
    max-width: 1000px;
    margin: 40px auto 0;
}

.wall-tablet {
    width: 100%;
    aspect-ratio: 16/10;
    background: #111;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 14px #1c1c1e, inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .demo-frame-wrapper {
        margin: 0 auto;
        width: 320px;
        height: 640px;
    }

    .wall-tablet {
        aspect-ratio: 16/9;
    }
}


/* =============================================================
   FAQ.HTML - Strona FAQ
   ============================================================= */

.faq-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.faq-hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.faq-hero p.lead {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 80px;
}

.faq-search {
    margin-bottom: 50px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search input {
    width: 100%;
    padding: 18px 24px 18px 55px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    font-size: 1.05rem;
    background: var(--card-bg);
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.faq-search i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-search input:focus + i {
    color: var(--primary);
}

.still-questions {
    text-align: center;
    padding: 50px;
    background: var(--bg-offset);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    margin-top: 60px;
    box-shadow: var(--shadow);
}

.still-questions h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 800;
}

.still-questions p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}


/* =============================================================
   OFERTA.HTML - Strona oferty
   ============================================================= */

.offer {
    padding: 60px 0;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--card-bg);
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.offer-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.05;
    border-radius: 50%;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.offer-card:hover .icon-box {
    background: var(--brand-gradient);
    color: white;
    transform: scale(1.1);
}

.offer-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.offer-card p {
    margin-bottom: 20px;
}

.offer-card ul {
    margin-top: 20px;
}

.offer-card li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.offer-card li i {
    color: var(--secondary);
    background: rgba(59, 130, 246, 0.1);
    padding: 5px;
    border-radius: 50%;
    font-size: 0.7rem;
}

/* Konfigurator */
.configurator {
    margin-top: 120px;
    padding: 100px 0;
    background: var(--bg-offset);
    transition: background 0.5s ease;
    border-radius: var(--radius);
    margin-bottom: 80px;
    border: 1px solid var(--border-color);
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.config-item {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--card-bg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.config-item:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.config-item.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.config-item i {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    transition: var(--transition);
}

.config-item:hover i,
.config-item.selected i {
    color: var(--primary);
    transform: scale(1.1);
}

.config-item h4 {
    font-weight: 600;
    color: var(--text-gray);
}

.config-item.selected h4 {
    color: var(--dark);
    font-weight: 700;
}

.config-summary {
    text-align: center;
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--radius);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}


/* =============================================================
   KONTAKT.HTML - Strona kontaktu
   ============================================================= */

.contact-section {
    padding: 80px 0;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-info p.desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-offset);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-method:hover .contact-icon {
    background: var(--brand-gradient);
    color: white;
    transform: scale(1.1);
    border-color: transparent;
}

.method-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 700;
}

.method-text a,
.method-text span {
    font-weight: 600;
    color: var(--text-gray);
    transition: color 0.3s;
}

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

.contact-form-box {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }

    .contact-form-box {
        padding: 30px;
    }
}
