/* Low Poly Universe Style */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;800&family=Orbitron:wght@500;700;900&display=swap');

:root {
    --poly-bg: #0b0c10;
    --poly-surface: #1f2833;
    --poly-primary: #45a29e;
    --poly-secondary: #66fcf1;
    --poly-accent: #c5c6c7;
    --poly-text: #ffffff;
    
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--poly-bg);
    color: var(--poly-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Low Poly Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: 
        linear-gradient(135deg, rgba(11,12,16,0.9) 0%, rgba(31,40,51,0.8) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,0 50,100" fill="rgba(69,162,158,0.05)"/><polygon points="0,100 100,100 50,0" fill="rgba(102,252,241,0.05)"/><polygon points="0,50 50,0 100,50 50,100" fill="rgba(197,198,199,0.02)"/></svg>');
    background-size: cover, 400px 400px;
    z-index: -2;
}

/* Stars */
.stars {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s infinite alternate;
}
@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn-poly {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--poly-bg);
    background: var(--poly-secondary);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}
.btn-poly:hover {
    transform: scale(1.05);
    background: var(--poly-primary);
    color: var(--poly-text);
}
.btn-poly.outline {
    background: transparent;
    color: var(--poly-secondary);
    position: relative;
}
.btn-poly.outline::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: var(--poly-bg);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    z-index: -1;
}
.btn-poly.outline::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--poly-secondary);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    z-index: -2;
}
.btn-poly.outline:hover::after {
    background: var(--poly-primary);
}
.btn-poly.outline:hover {
    color: var(--poly-primary);
}

/* Navigation - Hexagon/Polygon Shape */
.poly-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(31, 40, 51, 0.85);
    backdrop-filter: blur(10px);
    clip-path: polygon(2% 0, 98% 0, 100% 50%, 98% 100%, 2% 100%, 0% 50%);
    z-index: 1000;
    border: 1px solid rgba(102, 252, 241, 0.2);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}
.nav-brand {
    font-size: 28px;
    font-weight: 900;
    color: var(--poly-secondary);
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--poly-secondary);
}
.nav-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}
.lang-switch {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--poly-accent);
}

/* Hero Section - Diamond/Diagonal Split */
.hero-poly {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--poly-text), var(--poly-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 20px;
    color: var(--poly-accent);
    margin-bottom: 40px;
    max-width: 90%;
}
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}
.trust-poly {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.trust-poly span {
    font-size: 12px;
    font-family: var(--font-head);
    background: rgba(69, 162, 158, 0.2);
    border: 1px solid var(--poly-primary);
    padding: 5px 15px;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.hero-visual {
    position: relative;
}
.hero-visual img {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid var(--poly-secondary);
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.2);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Metrics - Hexagons */
.metrics-poly {
    padding: 50px 0;
    position: relative;
    z-index: 2;
}
.metrics-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.hex-metric {
    width: 200px;
    height: 230px;
    background: rgba(31, 40, 51, 0.8);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--poly-primary);
    transition: all 0.3s;
}
.hex-metric:hover {
    background: var(--poly-primary);
    transform: scale(1.05);
}
.hex-val {
    font-family: var(--font-head);
    font-size: 36px;
    color: var(--poly-secondary);
    margin-bottom: 10px;
}
.hex-metric:hover .hex-val { color: var(--poly-bg); }
.hex-lbl {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features - Low Poly Islands */
.features-poly {
    padding: 100px 0;
}
.sec-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: var(--poly-secondary);
}
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.poly-island {
    background: linear-gradient(135deg, rgba(31,40,51,0.9), rgba(11,12,16,0.9));
    clip-path: polygon(0 10%, 100% 0, 90% 100%, 10% 90%);
    padding: 50px 30px;
    position: relative;
    transition: transform 0.3s;
}
.poly-island::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 2px solid var(--poly-primary);
    clip-path: polygon(0 10%, 100% 0, 90% 100%, 10% 90%);
    pointer-events: none;
}
.poly-island:hover {
    transform: translateY(-10px);
}
.poly-island:nth-child(2) {
    clip-path: polygon(10% 0, 90% 10%, 100% 90%, 0 100%);
}
.poly-island:nth-child(2)::before {
    clip-path: polygon(10% 0, 90% 10%, 100% 90%, 0 100%);
}
.f-icon {
    font-size: 50px;
    margin-bottom: 20px;
    text-align: center;
}
.poly-island h3 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--poly-secondary);
}
.poly-island p {
    font-size: 15px;
    color: var(--poly-accent);
    margin-bottom: 20px;
    text-align: center;
}
.f-list {
    list-style: none;
}
.f-list li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(69,162,158,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}
.f-list li::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--poly-secondary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Nodes - Constellation Map */
.nodes-poly {
    padding: 100px 0;
}
.constellation-map {
    background: rgba(31, 40, 51, 0.5);
    border: 1px solid var(--poly-primary);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.constellation-map::before {
    content: '';
    position: absolute;
    top: 50%; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--poly-primary), transparent);
    z-index: 0;
}
.nodes-info {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
.nodes-info p { color: var(--poly-accent); font-size: 18px; }
.star-nodes {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 20px;
}
.star-node {
    text-align: center;
}
.star-point {
    width: 20px; height: 20px;
    background: var(--poly-secondary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    margin: 0 auto 10px;
    box-shadow: 0 0 15px var(--poly-secondary);
    animation: pulse 2s infinite alternate;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 1; }
}
.star-name { font-family: var(--font-head); font-size: 16px; margin-bottom: 5px; }
.star-speed { font-size: 12px; color: var(--poly-primary); }

/* Reviews - Angular Bubbles */
.reviews-poly {
    padding: 100px 0;
}
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.angular-bubble {
    background: rgba(31, 40, 51, 0.8);
    padding: 30px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 20% 85%, 10% 100%, 10% 85%, 0 85%);
    border-left: 3px solid var(--poly-secondary);
    min-height: 250px;
}
.r-stars { color: var(--poly-secondary); font-size: 20px; margin-bottom: 15px; }
.r-text { font-size: 16px; color: var(--poly-accent); margin-bottom: 20px; font-style: italic; }
.r-user { font-family: var(--font-head); font-size: 18px; color: var(--poly-text); text-align: right; }

/* Pricing - Crystals */
.pricing-poly {
    padding: 100px 0;
}
.crystal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}
.crystal-card {
    background: linear-gradient(180deg, rgba(31,40,51,0.9), rgba(11,12,16,0.9));
    padding: 50px 30px;
    text-align: center;
    clip-path: polygon(50% 0%, 100% 10%, 100% 90%, 50% 100%, 0% 90%, 0% 10%);
    border: 1px solid var(--poly-primary);
    transition: transform 0.3s;
    position: relative;
}
.crystal-card:hover { transform: translateY(-10px); }
.crystal-card.pro {
    background: linear-gradient(180deg, rgba(69,162,158,0.9), rgba(31,40,51,0.9));
    clip-path: polygon(50% 0%, 100% 5%, 100% 95%, 50% 100%, 0% 95%, 0% 5%);
    transform: scale(1.05);
    z-index: 2;
}
.crystal-card.pro:hover { transform: scale(1.05) translateY(-10px); }
.c-badge {
    position: absolute;
    top: 30px; right: -20px;
    background: var(--poly-secondary);
    color: var(--poly-bg);
    font-family: var(--font-head);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 12px;
}
.c-title { font-size: 28px; margin-bottom: 10px; color: var(--poly-text); }
.c-desc { font-size: 14px; color: var(--poly-accent); margin-bottom: 20px; }
.c-price { font-family: var(--font-head); font-size: 48px; color: var(--poly-secondary); margin-bottom: 30px; }
.crystal-card.pro .c-price { color: var(--poly-text); }
.c-price span { font-size: 16px; font-family: var(--font-body); color: var(--poly-accent); }
.c-feat { list-style: none; margin-bottom: 40px; text-align: left; }
.c-feat li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; }
.c-feat li::before { content: '►'; color: var(--poly-secondary); margin-right: 10px; }

/* FAQ - Angular Accordion */
.faq-poly {
    padding: 100px 0;
}
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(31, 40, 51, 0.6);
    margin-bottom: 20px;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    border-left: 4px solid var(--poly-primary);
    padding: 25px;
}
.faq-q {
    font-family: var(--font-head);
    font-size: 20px;
    color: var(--poly-secondary);
    margin-bottom: 15px;
}
.faq-a {
    font-size: 16px;
    color: var(--poly-accent);
}

/* Footer */
.footer-poly {
    background: #000;
    padding: 60px 0 30px;
    border-top: 2px solid var(--poly-primary);
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}
.f-brand { font-family: var(--font-head); font-size: 32px; color: var(--poly-secondary); margin-bottom: 20px; }
.f-desc { color: var(--poly-accent); font-size: 14px; }
.f-links-wrap { display: flex; gap: 50px; }
.f-col h4 { font-size: 18px; margin-bottom: 20px; color: var(--poly-text); }
.f-col a { display: block; color: var(--poly-accent); margin-bottom: 10px; font-size: 14px; transition: color 0.3s; }
.f-col a:hover { color: var(--poly-secondary); }
.f-copy { text-align: center; color: #666; font-size: 12px; border-top: 1px solid #222; padding-top: 20px; }

/* Subpages */
.sub-header {
    padding: 180px 0 80px;
    text-align: center;
}
.sub-title { font-size: 56px; color: var(--poly-secondary); margin-bottom: 20px; }
.sub-desc { font-size: 20px; color: var(--poly-accent); }

.dl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-bottom: 100px;
}
.dl-card {
    background: rgba(31, 40, 51, 0.8);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    border: 1px solid var(--poly-primary);
    transition: transform 0.3s;
}
.dl-card:hover { transform: translateX(10px); }
.dl-icon { font-size: 60px; }
.dl-info h3 { font-size: 28px; margin-bottom: 10px; }
.dl-info p { color: var(--poly-accent); margin-bottom: 20px; }

.help-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding-bottom: 100px;
}
.help-nav { position: sticky; top: 120px; }
.help-nav a {
    display: block;
    padding: 15px 20px;
    background: rgba(31, 40, 51, 0.5);
    margin-bottom: 10px;
    font-family: var(--font-head);
    color: var(--poly-accent);
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    transition: all 0.3s;
}
.help-nav a:hover, .help-nav a.active {
    background: var(--poly-primary);
    color: var(--poly-text);
    padding-left: 30px;
}
.help-content {
    background: rgba(31, 40, 51, 0.8);
    padding: 50px;
    clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
    border: 1px solid var(--poly-primary);
}
.help-content h2 { font-size: 36px; color: var(--poly-secondary); margin-bottom: 30px; border-bottom: 1px solid rgba(69,162,158,0.3); padding-bottom: 10px; }
.help-content h3 { font-size: 24px; margin: 30px 0 15px; }
.help-content p, .help-content li { color: var(--poly-accent); margin-bottom: 15px; }
.help-content ul { padding-left: 20px; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .constellation-map, .dl-grid, .help-layout { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .feat-grid, .review-grid, .crystal-grid { grid-template-columns: repeat(2, 1fr); }
    .crystal-card.pro { transform: none; }
    .crystal-card.pro:hover { transform: translateY(-10px); }
    .footer-grid { grid-template-columns: 1fr; }
    .help-nav { position: static; display: flex; flex-wrap: wrap; gap: 10px; }
    .help-nav a { margin-bottom: 0; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 48px; }
    .hero-actions { flex-direction: column; }
    .feat-grid, .review-grid, .crystal-grid { grid-template-columns: 1fr; }
    .f-links-wrap { flex-direction: column; gap: 30px; }
    .dl-card { flex-direction: column; text-align: center; clip-path: none; border-radius: 10px; }
}
