/* === WordPress Required Styles === */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* === Base Styles === */
:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #d97706;
    --accent-light: #fbbf24;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(15, 23, 42, 0.85);
    --border: rgba(255,255,255,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* === Preloader === */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary); display: flex; justify-content: center; align-items: center;
    z-index: 9999; transition: opacity 0.5s ease;
}
.preloader.hidden { opacity: 0; pointer-events: none; }
.loader {
    width: 60px; height: 60px; border: 3px solid var(--border);
    border-top-color: var(--accent); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Navigation === */
nav {
    position: fixed; top: 0; width: 100%; padding: 1.2rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: all 0.4s ease; background: transparent;
}
nav.scrolled {
    background: var(--glass); backdrop-filter: blur(20px);
    padding: 0.8rem 5%; box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--border);
}
.logo {
    font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 800;
    color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.logo img { max-height: 72px; width: auto; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-weight: 500;
    font-size: 0.95rem; position: relative; transition: color 0.3s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px; background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 25px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero Section === */
.hero {
    min-height: 85vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding: 40px 5% 70px; text-align: center;
}
#particles-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; width: 100%; margin: 0 auto; }

.hero-badge {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 14px 32px;
    background: rgba(217, 119, 6, 0.15); border: 1px solid var(--accent);
    color: var(--accent-light); border-radius: 50px; font-size: 0.9rem;
    font-weight: 600; margin-bottom: 28px; animation: fadeInDown 1s ease;
    letter-spacing: 2px; text-transform: uppercase;
}
.hero h1 {
    font-family: 'Playfair Display', serif; font-size: 76px;
    font-weight: 700; line-height: 0.95; margin: 0 auto 34px; max-width: 900px;
    animation: fadeInUp 1s ease 0.2s both;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
    font-size: 22px; line-height: 1.7; color: rgba(255,255,255,.78);
    max-width: 720px; margin: 0 auto 52px; animation: fadeInUp 1s ease 0.4s both;
}
.hero-buttons {
    display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    min-width: 190px; min-height: 54px; padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
    text-decoration: none; transition: all 0.3s ease; display: inline-flex;
    align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.95rem; cursor: pointer; border: none;
}
.hero .btn {
    width: 250px; height: 68px; min-width: 250px; min-height: 68px; padding: 0 2rem; border-radius: 18px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #b45309); color: white;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(217, 119, 6, 0.4); }
.hero .btn-primary:hover { transform: translateY(-4px); }
.btn-outline {
    background: transparent; color: var(--text); border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.hero .btn-outline:hover { transform: translateY(-4px); }
.trust-indicators {
    display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap;
    margin: 36px auto 0; color: rgba(255,255,255,.82); font-size: 0.95rem; font-weight: 600;
    animation: fadeInUp 1s ease 0.8s both;
}
.trust-indicators span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-indicators i { color: var(--accent-light); }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    animation: bounce 2s infinite; color: var(--text-muted); font-size: 1.5rem;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* === Section Styles === */
section { padding: 6rem 5%; position: relative; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 {
    font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem; position: relative; display: inline-block;
}
.section-header h2::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: var(--accent); border-radius: 2px;
}
.section-header p { color: var(--text-muted); margin-top: 1.5rem; font-size: 1.1rem; }

/* === About Section === */
.about { background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center; max-width: 1200px; margin: 0 auto;
}
.about-image {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.about-image::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(217,119,6,0.2), transparent); z-index: 1;
}
.about-image img { width: 100%; height: 500px; object-fit: cover; display: block; transition: transform 0.5s; }
.about-image:hover img { transform: scale(1.05); }

.about-content h3 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--accent-light); }
.about-content p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.stat-item {
    text-align: center; padding: 1.5rem; background: rgba(255,255,255,0.03);
    border-radius: 15px; border: 1px solid var(--border); transition: all 0.3s;
}
.stat-item:hover {
    transform: translateY(-5px); border-color: var(--accent);
    background: rgba(217,119,6,0.05);
}
.stat-item h4 { font-size: 2rem; color: var(--accent); font-weight: 800; }
.stat-item span { font-size: 0.9rem; color: var(--text-muted); }

/* === Applications Section === */
.applications { background: var(--primary); }
.apps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.app-card {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden; transition: all 0.4s ease; position: relative;
}
.app-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0); transition: transform 0.4s;
}
.app-card:hover::before { transform: scaleX(1); }
.app-card:hover {
    transform: translateY(-10px); border-color: rgba(217,119,6,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.app-image { height: 220px; overflow: hidden; position: relative; }
.app-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.app-card:hover .app-image img { transform: scale(1.1); }

.app-icon {
    position: absolute; bottom: -25px; right: 20px; width: 50px; height: 50px;
    background: var(--accent); border-radius: 12px; display: flex;
    align-items: center; justify-content: center; font-size: 1.3rem;
    color: white; box-shadow: 0 10px 20px rgba(217,119,6,0.3); z-index: 2;
}
.app-content { padding: 2rem; }
.app-content h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--text); }
.app-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* === Products Showcase === */
.showcase { background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%); overflow: hidden; }
.showcase-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.showcase-slider {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.slider-track { display: flex; transition: transform 0.5s ease; }
.slide { min-width: 100%; height: 450px; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px;
}
.dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s;
}
.dot.active { background: var(--accent); width: 30px; border-radius: 5px; }

.showcase-content h3 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.showcase-content p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); }
.feature-list li i { color: var(--accent); font-size: 1.2rem; }

/* === Why Choose Us === */
.why-us { background: var(--primary); position: relative; }
.why-us::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(217,119,6,0.05) 0%, transparent 50%);
}
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
}
.feature-card {
    padding: 2.5rem 2rem; background: rgba(255,255,255,0.02);
    border: 1px solid var(--border); border-radius: 20px;
    text-align: center; transition: all 0.4s; position: relative; overflow: hidden;
}
.feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0;
    background: linear-gradient(180deg, transparent, rgba(217,119,6,0.1));
    transition: height 0.4s;
}
.feature-card:hover::after { height: 100%; }
.feature-card:hover { transform: translateY(-8px); border-color: var(--accent); }

.feature-icon {
    width: 70px; height: 70px; background: rgba(217,119,6,0.1);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; font-size: 1.8rem; color: var(--accent);
    transition: all 0.3s;
}
.feature-card:hover .feature-icon {
    background: var(--accent); color: white; transform: rotateY(360deg);
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* === Contact Section === */
.contact { background: linear-gradient(180deg, var(--primary) 0%, #020617 100%); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    max-width: 1200px; margin: 0 auto;
}
.contact-info h3 { font-size: 2rem; margin-bottom: 1.5rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item i {
    width: 50px; height: 50px; background: rgba(217,119,6,0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.2rem; flex-shrink: 0;
}
.contact-item div h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.contact-item div p { color: var(--text-muted); font-size: 0.95rem; }

.contact-form {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: 20px; padding: 2.5rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 1rem 1.2rem; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); border-radius: 12px; color: var(--text);
    font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none; border-color: var(--accent); background: rgba(217,119,6,0.05);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container textarea,
.wpforms-container select {
    width: 100%; padding: 1rem 1.2rem; background: rgba(255,255,255,0.05) !important;
    border: 1px solid var(--border) !important; border-radius: 12px; color: var(--text) !important;
    font-family: 'Inter', sans-serif; font-size: 0.95rem; transition: all 0.3s;
}
.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus {
    outline: 2px solid var(--accent); outline-offset: 2px;
}
.wpforms-container button[type="submit"] {
    width: 100%; justify-content: center; padding: 1rem 2.5rem; border-radius: 50px;
    font-weight: 600; background: linear-gradient(135deg, var(--accent), #b45309) !important;
    color: white !important; border: none; cursor: pointer;
}

/* === Footer === */
footer {
    background: #020617; border-top: 1px solid var(--border);
    padding: 4rem 5% 2rem;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; max-width: 1200px; margin: 0 auto 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--text); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }

.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
    width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: all 0.3s;
}
.social-links a:hover {
    background: var(--accent); color: white; border-color: var(--accent);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center; padding-top: 2rem; border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.9rem; max-width: 1200px; margin: 0 auto;
}

/* === Animations === */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s ease; }
.reveal-scale.active { opacity: 1; transform: scale(1); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Floating Shapes === */
.shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; pointer-events: none; }
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: 10%; left: -10%; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: #3b82f6; bottom: 10%; right: -5%; animation: float 10s ease-in-out infinite reverse; }
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* === Mobile Responsive === */
@media (max-width: 968px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
        background: var(--glass); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        transition: right 0.4s ease; border-left: 1px solid var(--border);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    .about-grid, .showcase-container, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 60px; }
}

@media (max-width: 640px) {
    section { padding: 4rem 5%; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 40px 5% 70px; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 1rem; line-height: 1.65; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero .btn { width: 100%; min-width: 0; justify-content: center; }
    .trust-indicators { flex-direction: column; gap: 14px; }
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
}

/* === WordPress Content Templates === */
.content-page {
    min-height: 70vh;
    padding: 8rem 5% 6rem;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}
.content-container {
    max-width: 960px;
    margin: 0 auto;
}
.content-card {
    margin-bottom: 2rem;
    padding: 2.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
}
.entry-title,
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}
.entry-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}
.entry-title a:hover {
    color: var(--accent);
}
.entry-thumbnail {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
}
.entry-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}
.entry-content {
    color: var(--text-muted);
    font-size: 1.05rem;
}
.entry-content p,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.25rem;
}
.entry-content a {
    color: var(--accent-light);
}
.entry-content .btn {
    color: #fff;
    margin-top: 1rem;
}
.page-header {
    margin-bottom: 2rem;
}
.archive-description {
    color: var(--text-muted);
}
.posts-navigation,
.post-navigation {
    margin-top: 2rem;
}
.posts-navigation a,
.post-navigation a,
.page-links a {
    color: var(--accent-light);
    text-decoration: none;
}
.search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}
.search-form label {
    flex: 1 1 260px;
}
.search-field {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}
.search-submit {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent), #b45309);
    border: 0;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}
.product-specifications,
.product-gallery,
.product-applications,
.product-packaging,
.product-actions {
    margin-top: 2rem;
}
.product-specifications h2,
.product-gallery h2,
.product-applications h2,
.product-packaging h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}
.product-specifications table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-muted);
}
.product-specifications th,
.product-specifications td {
    padding: 1rem;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.product-specifications th {
    color: var(--text);
    width: 35%;
}
