/* =========================================
   ALPINE TECHNOLOGIES - PREMIUM UI 
   ========================================= */

/* Variables */
:root {
    --primary-color: #0ea5e9; /* Modern Electric Blue */
    --secondary-color: #0f172a; /* Deep Navy Corporate Dark */
    --accent-color: #e63946; /* Alert/Action Red */
    --text-main: #334155;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Typography & Utilities */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    line-height: 1.2;
}

.text-blue { color: var(--primary-color); }
.text-gradient {
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); color: var(--white); }
.light-text h2, .light-text p { color: var(--white); }
.w-100 { width: 100%; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
}

/* Header - Solid White (Perfectly camouflages the logo box) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #ffffff; /* Pure white background */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 5%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.logo-img { 
    max-height: 55px; 
    transition: var(--transition); 
    mix-blend-mode: multiply; /* Removes any remaining white */
}

header.scrolled .logo-img { max-height: 45px; }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80') center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Sections General */
.section { padding: 100px 0; }
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.underline {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

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

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

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

.icon-box {
    width: 70px;
    height: 70px;
    background: #e0f2fe;
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
}

.feature-card h3 { font-size: 1.3rem; margin-bottom: 15px; }

/* Tables */
.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1px; /* for border */
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 900px;
}

th, td { padding: 18px 15px; border-bottom: 1px solid #f1f5f9; }

th {
    background: var(--bg-light);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

td { font-size: 14px; color: var(--text-main); }
td:first-child { text-align: left; font-weight: 600; color: var(--secondary-color); }

tbody tr:hover { background-color: #f8fafc; }

.price-row td {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
    background: #f0f9ff;
}

/* Email Section & Video */
.video-wrapper {
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
}

.browser-header {
    background: #1e293b;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.email-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.email-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.email-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
}

.email-card.popular {
    background: var(--white);
    color: var(--secondary-color);
    transform: scale(1.05);
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.email-card.popular:hover { transform: scale(1.05) translateY(-10px); }

.badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.email-card h3 { margin-bottom: 20px; font-size: 1.2rem; }
.email-card.popular h3 { color: var(--secondary-color); }
.email-card .price { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 5px; color: var(--primary-color); }
.email-card .price span { font-size: 1.5rem; vertical-align: super; }
.email-card .price .period { font-size: 1rem; color: var(--text-light); font-weight: 400; }
.email-card .yearly-price { color: var(--text-light); font-size: 14px; margin-bottom: 25px; }

.email-card ul { list-style: none; text-align: left; }
.email-card ul li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; }
.email-card.popular ul li { border-bottom: 1px solid #e2e8f0; }
.email-card ul li i { color: var(--primary-color); margin-right: 10px; }

/* Split Section (Domains & Contact) */
.flex-split {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.split-left, .split-right { flex: 1; }

.addon-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    border-left: 4px solid var(--primary-color);
}

.addon-box h4 { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.addon-box p { margin-bottom: 5px; font-size: 15px; }
.small-text { font-size: 13px !important; color: var(--text-light); }

/* Modern Contact Form */
.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
}

.contact-card h3 { margin-bottom: 10px; font-size: 1.8rem; }
.contact-card p { margin-bottom: 25px; color: var(--text-light); font-size: 14px; }

.modern-form .input-container {
    position: relative;
    margin-bottom: 20px;
}

.modern-form .icon {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-light);
}

.modern-form .textarea-container .icon { top: 18px; }

.modern-form input, .modern-form select, .modern-form textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg-light);
    transition: var(--transition);
}

.modern-form input:focus, .modern-form select:focus, .modern-form textarea:focus {
    border-color: var(--primary-color);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* ADDED: Google Map Styles */
.map-container {
    margin-top: 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0 20px 0;
}

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

.footer-logo { flex: 1; min-width: 300px; }
.footer-contact { flex: 1; min-width: 300px; }

.footer-contact h4 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-contact p { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.footer-contact a { color: var(--primary-color); text-decoration: none; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* Animations Triggered by JavaScript */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .flex-split { flex-direction: column; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; } 
}