/* ============================================================
   SECURESSL - PROFESSIONAL GOGETSSL-STYLE LAYOUT
   Color Scheme: Modern Blue/Purple Gradient
   Font: Inter, -apple-system
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: #f0f1f3;
    color: #333333;
    line-height: 1.6;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a73e8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.logo:hover {
    color: #0d47a1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a73e8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1a73e8;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    background: #f5f5f5;
    padding: 0.25rem;
    border-radius: 6px;
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: #1a73e8;
    color: white;
}

.lang-btn:hover {
    background: #e8f0fe;
    color: #1a73e8;
}

/* ============================================================
   DROPDOWN MENU
   ============================================================ */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    min-width: 240px;
    list-style: none;
    padding: 0.75rem 0;
    margin: 0.75rem 0 0 0;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #f5f7ff;
    color: #1a73e8;
    border-left-color: #1a73e8;
    padding-left: 1.8rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
    background: white;
    color: #333;
    border: 2px solid #e8e8e8;
}

.btn-secondary:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    background: #f5f7ff;
}

.btn-outline {
    background: transparent;
    color: #1a73e8;
    border: 2px solid #1a73e8;
}

.btn-outline:hover {
    background: #1a73e8;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-accent {
    background: #27ae60;
    color: white;
}

.btn-accent:hover {
    background: #1e8449;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 50%, #0066cc 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.search-box {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: 8px;
    align-items: stretch;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    background: white;
}

.search-box input::placeholder {
    color: #999;
}

.search-box input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #27ae60;
}

.search-box button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    background: #27ae60;
    color: white;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #1e8449;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.hero-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* ============================================================
   SECTIONS
   ============================================================ */

section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.features {
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #e8e8e8;
}

.feature-card h3 {
    color: #1a73e8;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */

.products {
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.product-header {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    flex-shrink: 0;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
}

.product-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-body p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-card .btn {
    display: block;
    width: 100%;
    margin-top: auto;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    text-align: center;
    padding: 0.9rem 1.5rem;
}

.product-card .btn:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #061e6f 100%);
    transform: none;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid #2a2a4e;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section a {
    font-size: 0.85rem;
    display: block;
    padding: 0.4rem 0;
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #1a73e8;
}

.footer-section p {
    font-size: 0.85rem;
    margin: 0.4rem 0;
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.footer-desc {
    color: #999;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid #2a2a4e;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #b0b0b0;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
}

.footer-bottom-links a:hover {
    color: #1a73e8;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #ffffff;
}

.content-section h2 {
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.content-section h3 {
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-section p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.content-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: #555;
}

.content-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-section a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}

.content-section a:hover {
    text-decoration: underline;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */

.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cert-card {
    border: 2px solid #e8e8e8;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    background: white;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: #1a73e8;
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.15);
}

.cert-card.best {
    border-color: #1a73e8;
    background: #f5f7ff;
    transform: scale(1.05);
}

.cert-card.best::before {
    content: "★ RECOMMENDED ★";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a73e8;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cert-card h3 {
    color: #1a73e8;
    margin-top: 0;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a73e8;
    margin: 1rem 0;
}

.cert-detail {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cert-detail:last-child {
    border-bottom: none;
}

.cert-detail strong {
    display: block;
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.cert-detail span {
    display: block;
    font-size: 1rem;
    color: #1a1a1a;
    margin-top: 0.25rem;
}

/* ============================================================
   FORMS
   ============================================================ */

form {
    max-width: 600px;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

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

/* ============================================================
   TABLES
   ============================================================ */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.admin-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e8e8e8;
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

/* ============================================================
   PRICING TABLE
   ============================================================ */

.pricing {
    background: #f8f9fa;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
    max-width: 100%;
}

.pricing-table thead {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
}

.pricing-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.pricing-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
}

.pricing-table tbody tr {
    transition: all 0.3s ease;
}

.pricing-table tbody tr:hover {
    background: #f8f9fa;
}

.pricing-table tbody tr.popular {
    background: #f5f7ff;
}

.pricing-table tbody tr.popular td {
    border-bottom: 1px solid #e0e7ff;
}

.pricing-table tbody tr.popular:hover {
    background: #eef2ff;
}

.product-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.product-brand {
    font-size: 0.8rem;
    color: #999;
}

.badge-type {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-dv {
    background: #e3f2fd;
    color: #1a73e8;
}

.badge-ov {
    background: #f3e5f5;
    color: #7b1fa2;
}

.badge-ev {
    background: #e8f5e9;
    color: #2e7d32;
}

.original-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a73e8;
}

.price small {
    font-size: 0.7rem;
    color: #999;
    font-weight: 400;
}

.pricing-table .btn {
    background: #27ae60;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.pricing-table .btn:hover {
    background: #1e8449;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.pricing-table .btn-primary {
    background: #1a73e8;
}

.pricing-table .btn-primary:hover {
    background: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* ============================================================
   CARD COMPONENTS
   ============================================================ */

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.card-header h2 {
    margin: 0;
    font-size: 1.5rem;
    text-align: left;
}

.card-body {
    color: #555;
    line-height: 1.8;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 40px 20px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .products-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .cert-card.best {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 60px 20px;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

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

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none !important;
}

.table-responsive {
    overflow-x: auto;
}
